|
|
@@ -32,6 +32,7 @@ public class BookMarkListViewHolder extends BookMarkListView {
|
|
|
private TextView textViewBookMarkSubTitle;
|
|
|
private LikeCheckbox checkBoxLike;
|
|
|
private BookmarkCheckbox checkBoxBookMark;
|
|
|
+ private View layoutContainer;
|
|
|
|
|
|
public BookMarkListViewHolder(View itemView) {
|
|
|
super(itemView);
|
|
|
@@ -40,6 +41,7 @@ public class BookMarkListViewHolder extends BookMarkListView {
|
|
|
textViewBookMarkSubTitle = itemView.findViewById(R.id.text_view_book_mark_sub_title);
|
|
|
checkBoxLike = itemView.findViewById(R.id.like_check);
|
|
|
checkBoxBookMark = itemView.findViewById(R.id.book_mark_check);
|
|
|
+ layoutContainer = itemView.findViewById(R.id.layout_container);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -71,7 +73,7 @@ public class BookMarkListViewHolder extends BookMarkListView {
|
|
|
checkBoxLike.setChecked(bean.isLiked());
|
|
|
checkBoxBookMark.setChecked(bean.isBookmarked());
|
|
|
|
|
|
- itemView.setOnClickListener(view -> {
|
|
|
+ layoutContainer.setOnClickListener(view -> {
|
|
|
if (null != listener) {
|
|
|
listener.onEvent(new Event.Builder(Event.CONTENTS).index(index).build());
|
|
|
}
|