How To Make Swipe On Horizontal Recyclerview Bring Only The Next Item Into View - Android
I have a horizontal RecyclerView that shows 4 cards numbered 1-4. These cards take up the entire width of the screen so only 1 card can be fully visible at a time. The user is pres
Solution 1:
SnapHelper snapHelper = new PagerSnapHelper();
snapHelper.attachToRecyclerView(recyclerView);
Added in android.support library
Post a Comment for "How To Make Swipe On Horizontal Recyclerview Bring Only The Next Item Into View - Android"