GalleryLayoutManager
GalleryLayoutManager copied to clipboard
能不能设置一次只滑一个条目,和viewpager一样
PagerSnapHelper snapHelper = new PagerSnapHelper(); snapHelper.attachToRecyclerView(recyclerview);
将LinearSnapHelper 改为 PagerSnapHelper