Skip to content Skip to sidebar Skip to footer

Using Sectionspageradapter Android

I have a sectionsPagerAdapter that is used as the adapter for a ViewPager. mSectionsPagerAdapter = new SectionsPagerAdapter( getSupportFragmentManager()); // S

Solution 1:

I'm gonna guess that your SectionsPagerAdapter was automatically generated when you created a new activity using ADT and specified a navigation type with tabs. If that's the case, then your SectionsPagerAdapter is extending FragmentPagerAdapter, whose documentation is located here.

If you really want to use a ViewPager for what you're talking about, check out that link to the Android developer reference. It sounds, though, like you want to do something more akin to what's discussed in this Q/A. Maybe you could elaborate a bit on what you're looking to accomplish?

Post a Comment for "Using Sectionspageradapter Android"