|
|
@@ -28,9 +28,11 @@ public class FifthCategoryMainItemViewHolder extends CategoryMainViewHolder {
|
|
|
private TextView textViewSubTitle;
|
|
|
private TextView textViewTitle;
|
|
|
private TextView textFlag;
|
|
|
+ private View view;
|
|
|
|
|
|
public FifthCategoryMainItemViewHolder(View itemView) {
|
|
|
super(itemView);
|
|
|
+ view = itemView.findViewById(R.id.view);
|
|
|
imageViewMainFifthCategory = itemView.findViewById(R.id.image_view_thumbnail);
|
|
|
textViewSubTitle = itemView.findViewById(R.id.text_view_sub_title);
|
|
|
textViewTitle = itemView.findViewById(R.id.text_view_title);
|
|
|
@@ -62,7 +64,7 @@ public class FifthCategoryMainItemViewHolder extends CategoryMainViewHolder {
|
|
|
showFlag(textFlag, bean);
|
|
|
}
|
|
|
|
|
|
- itemView.setOnClickListener(v -> {
|
|
|
+ view.setOnClickListener(v -> {
|
|
|
if (null != listener) {
|
|
|
listener.onEvent(new Event.Builder(Event.CONTENTS).index(index).build());
|
|
|
}
|