I wonder if it is possible to implement swiping between Fragments with ViewPager without the use of android.support.v4? I'm using android.app. Or is there any other way that this can be done?
Thanks
I wonder if it is possible to implement swiping between Fragments with ViewPager without the use of android.support.v4?
If you are looking to use ViewPager with native API Level 11 fragments, use android-support-v13.jar and its implementation of things like ViewPager and FragmentPagerAdapter. You will find both the v4 and the v13 versions of FragmentPagerAdapter in the documentation.
Or, roll your own subclass of PagerAdapter that handles fragments in a way that suits you, along with android-support-v13.jar for ViewPager.
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