A
A
Alexander Sinitsyn2017-08-08 15:00:38
Android
Alexander Sinitsyn, 2017-08-08 15:00:38

How can ViewPager be friends with swipe of RecycleView elements?

When scrolling the pager through the elements, the element swipe often works, this happens even on a pass-through swipe without a pause when touching the screen. While isLongPressDragEnabled returns true.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2017-08-08
@YuryBorodkin

hmm, you can tweak the recycler in the LayoutManager, return isScrollingEnabled false when you swipe the pager.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question