Does anyone has an idea how to cycle views in an horizontal view pager in Android. Let's say we have 5 views, and the first view is selected right now, the 5th view should be on the left and the 2nd view should be on the right. I should be able to move to the 2nd/5th by swiping to the left/right respectively.
A custom PagerAdapter should do the trick.
See step-by-step help for horizontal view pager here: http://android10.org/index.php/articlesuserinterface/354-android-ui-horizontal-view-pager
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With