Reputation: 6546
I want to show 4 images like a slide show with translate (right to left) animation.
So I used ViewPager
with 4 Fragment
s, and thread for automatic navigation to the next Fragment
.
Everything was fine except navigation from the last item to the first.
In that case ViewPager
scroll all Fragment
s (from left to right) to the first one, and this is the problem.
I need something like infinite navigating (right to left).
So what alternatives of ViewPager
for doing this there are?
Upvotes: 0
Views: 821
Reputation: 456
check this out , you can achieve using this
https://github.com/antonyt/InfiniteViewPager
hope it helps :)
Upvotes: 2