J
J
Julia2017-07-04 15:46:57
Android
Julia, 2017-07-04 15:46:57

Is there a ready-made solution for implementing a "closer" slider in RecyclerView?

Hello!
There was a need to swipe recycler items in a horizontal orientation, similar to the viewpager screens, that is, so that the slider is not smooth, but "with a closer))" to the next or previous item. Is there an out-of-the-box solution to meet this need?
Thanks to everyone who replied =).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2017-07-04
@YushkaD

You can definitely do it. One of the ready-made solutions: https://github.com/lsjwzh/RecyclerViewPager
there is a solution without third-party libs, you need to write your own SnapHelper

I
itdroid, 2017-07-04
@itdroid

Have a look at PagerSnapHelper from the Support library.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question