Home > Software design >  SwipeView without android.support.v4.app
SwipeView without android.support.v4.app

Time:11-03

Is there a way to implement swiping between action bar tabs without using android.support.v4.app lib? Using the lib will make redo most codes. Thanks!

CodePudding user response:

I was also looking for the answer, but i just found this:
"ViewPager can use native API Level 11 fragments, though you may need to create your own PagerAdapter. Or, you can use ViewPager without any fragments, using just ordinary View or ViewGroup objects for the pages."
If you have found an example or a better way, i would like to hear from you, otherwise happy coding :)

  • Related