Good day. I have a RecyclerView that lists the CardView. Each CardView consists of TextView and CheckBox. Mark CheckBox by clicking on CheckBox itself is not very convenient (because the checkbox area is small for a finger). I would like to checkmark by clicking around the whole CardView. Put RecyclerView on ClickListner:
rv.addOnItemTouchListener(new RecyclerItemClickListener(getActivity(), rv, new RecyclerItemClickListener.OnItemClickListener() { @Override public void onItemClick(View view, int position) { Toast.makeText(getActivity(), "Click" + AddFilterAdapter.getBox(), Toast.LENGTH_SHORT).show(); } })); Further, as it seems to me, you need to determine the CardView position in the adapter and check the required CheckBox by position. But how to implement it? Tell me an example.