make public getSectionIndex from view position and getPositionInsection from view position
brucexia opened this issue · 3 comments
brucexia commented
This would make accessing the data item easier.
truizlop commented
Could you elaborate a bit more on this issue? Why do you need access to it?
mzestars commented
I would need this to handle on click events, so that I can get back the object that I bind to that row item.
truizlop commented
You have section and row indices available on method onBindItemViewHolder
. You can send such information to your view holder and have it available when handling click events.