0

I'm going to create a card list like Google Play app that always show 3 items completely and one or two item part that tell us that the list has more items.

This is easy by RecyclerView that use LinearLayoutManager in HORIZONTAL mode. That explained in this answer.

But the problem is item by item scrolling like Google Play app that doesn't stop in any place and if you stop scrolling in middle of an item it moves to begin of that.

And it shows exactly 3 item in the main box not 2 and a half or 3 and a few.

golkarm
  • 1,021
  • 1
  • 11
  • 22

2 Answers2

0

There's a Library just for that case named GravitySnapHelper: https://github.com/rubensousa/GravitySnapHelper

Pascal
  • 123
  • 1
  • 7
0

You can use viewpager for this.

Alireza
  • 446
  • 4
  • 15