Reputation: 151
I have no interest in backward support for < 4.0 devices. And also, I would like to get rid of support libraries to make package as small as possible.
Is it possible to create similar effect only using 4.0+ native fragments?
Upvotes: 1
Views: 317
Reputation: 1006944
ViewPager
is not tied to any fragments. You are welcome to use ViewPager
with:
Views
for the pagesYou are also welcome to copy the source code to ViewPager
and PagerAdapter
into your project. If you would like to use FragmentPagerAdapter
or FragmentStatePagerAdapter
with native API Level 11+ fragments, you can copy the source code to the v13
editions of those classes into your project as well.
Upvotes: 1