remove handling for holder.topChangedMessage because it's a footer, duh
This commit is contained in:
parent
89c57fca2d
commit
3b4da398c2
@ -775,7 +775,6 @@ public class HeadlinesFragment extends Fragment {
|
||||
public ImageView textImage;
|
||||
public ImageView textChecked;
|
||||
public View headlineHeader;
|
||||
public View topChangedMessage;
|
||||
public View flavorImageOverflow;
|
||||
public TextureView flavorVideoView;
|
||||
//public int position;
|
||||
@ -805,7 +804,6 @@ public class HeadlinesFragment extends Fragment {
|
||||
textImage = (ImageView) v.findViewById(R.id.text_image);
|
||||
textChecked = (ImageView) v.findViewById(R.id.text_checked);
|
||||
headlineHeader = v.findViewById(R.id.headline_header);
|
||||
topChangedMessage = v.findViewById(R.id.headlines_row_top_changed);
|
||||
flavorImageOverflow = v.findViewById(R.id.gallery_overflow);
|
||||
flavorVideoView = (TextureView) v.findViewById(R.id.flavor_video);
|
||||
|
||||
@ -959,15 +957,6 @@ public class HeadlinesFragment extends Fragment {
|
||||
});
|
||||
}
|
||||
|
||||
if (holder.topChangedMessage != null) {
|
||||
holder.topChangedMessage.setOnClickListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
refresh(false, true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (holder.textImage != null) {
|
||||
updateTextCheckedState(holder, article, position);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user