I had a problem: when i clicked a checkbox of single item in recycler view, other item's checkboxes also got selected....But when i overided these two methods and returen position with it,problem was solved.... So my question is how did they solve my problem???
Already know what is written in android documentation.
@Override
public long getItemId(int position) {
return position;
}
@Override
public int getItemViewType(int position) {
return position;
}