android-parallax-recyclerview
android-parallax-recyclerview copied to clipboard
getAdapterPosition() wrong index, outOfBounds exception
trafficstars
RecyclerView method getAdapterPosition() needs to be Overriden, since it doesnt take the parallax view into calculations.
No need to emphasize that this method is extremely important when working with recycler view and its viewholders since on click methods should be implemented in view holders using getAdapterPosition and not using final positions returned by bindViewHolder method.
You're right about that. I will implement that once I have time.
Please notice that the adapter has a OnClickEvent that respects that position. Consider using it for the time
Do you have any update on this problem? I faced with this issue too.