Reputation: 459
how can i let user swipe between pages by touch in android i am using android 2.1
i found this Link but i am not sure ViewPager works with 2.1 ViewPager
so i found Viewflipper and ViewSwitcher.is it doing the same thing as Viewpager?
Thanks in advance
Upvotes: 1
Views: 1284
Reputation: 6653
I think you will get an idea from these links.For swiping a page left and right the best way will be using a customized view.
http://mobile.tutsplus.com/tutorials/android/android-user-interface-design-horizontal-view-paging/
https://github.com/grantland/android-horizontalpager
http://savagelook.com/blog/android/swipes-or-flings-for-navigation-in-android
http://blog.sephiroth.it/2011/04/04/imageview-zoom-and-scroll/
Horizondalpager is the best option.Hope this will help you to get there :-)
Upvotes: 1