There's nothing wrong with the grid but when I click an item - say section 0, item 10 - the onClick action is triggered on section 0, item 0! I log the section and position and they're always correct. here's the onBindItemViewHolder method:
`public void onBindItemViewHolder(ItemViewHolder viewHolder, final int section, final int position) {
final SubjectViewHolder holder = (SubjectViewHolder) viewHolder;
Subject subject = subjects.get(section).get(position);
Hi,
There's nothing wrong with the grid but when I click an item - say section 0, item 10 - the onClick action is triggered on section 0, item 0! I log the section and position and they're always correct. here's the onBindItemViewHolder method:
`public void onBindItemViewHolder(ItemViewHolder viewHolder, final int section, final int position) { final SubjectViewHolder holder = (SubjectViewHolder) viewHolder; Subject subject = subjects.get(section).get(position);
How can I fix this?