0

I have a recycler view in which I have inflated a layout containing some textviews and an imageview. Everything works as expected but I am facing a little problem while scrolling.

I want a behaviour where if user scrolls up or down the complete row which is currently in display should move and the new row comes is displayed. Right now when I am scrolling both the rows are partially visible.

How to achieve such behaviour in Recyclerview in android?

I am attaching a screenshot of my app if you guys want I can also post my code.enter image description here

Ezio
  • 2,367
  • 1
  • 21
  • 33
  • I would use `ViewPager` for what you want but it works horizontally. Check out this question for more details http://stackoverflow.com/q/13477820/2445241 – YYJo Jan 07 '17 at 19:23
  • I am familier with Viewpagers but I want this in vertical scrolling – Ezio Jan 07 '17 at 19:24
  • The link I gave you has some vertical view pagers / recycler views that do what you want – YYJo Jan 07 '17 at 19:32

1 Answers1

0

Try out this library by kaelaela:

https://github.com/kaelaela/VerticalViewPager

TrueKojo
  • 106
  • 3
  • 6