Top "Android-viewpager" questions

A ViewGroup that manages the layout for the child views the user can swipe between.

Error inflating class android.support.v4.view.ViewPager

I've been trying to create a Pager for my application that runs on <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="15" /> …

android android-viewpager inflate-exception
Android PagerAdapter, get current position

I want to get the current position of the visible view of my PagerAdapter I didn't see an obvious function …

android arraylist pager android-viewpager
Android CoordinatorLayout + AppbarLayout + Viewpager always scrolling

I have a classic layout with a ToolBar on the top, a TabLayout below it, and a ViewPager switching tabs …

android layout android-viewpager coordinator-layout
Why it is not possible to use ViewPager within a Fragment? It actually is

There are information that it is impossible to use ViewPager within a Fragment in many sources like "The Busy Coders …

android android-fragments android-viewpager commonsware
Android - Fragment screen rotate

I'have 1 FragmentActivity with a ViewPager which handle 2 Fragments. public class MyFragmentActivity extends FragmentActivity{ private Fragment f1; private Fragment f2; private …

android screen-orientation fragment android-viewpager
Display fragment viewpager within a fragment

I have a fragment which contains a ViewPager. The ViewPager is associated with an adapter that contains a set of …

android android-fragments android-viewpager android-lifecycle android-nested-fragment
Is it possible to have a ViewPager inside of a ScrollView?

I'm trying to use a ViewPager inside of a ScrollView, but the ViewPager does not appear. If I remove the …

android scrollview android-viewpager
ViewPager animation fade in/out instead of slide

I got the FragmentBasics example from here. Is there a way make the ViewPager animation simply fade in and out …

android android-viewpager native fadein slide
ViewPager's Fragment's view lost when ViewPager's parent Fragment hidden then shown

I've been seeing some strange behavior with my ViewPager along with my own FragmentStatePagerAdapter. My View hierarchy goes like this: …

android android-fragments android-viewpager
Fragment in ViewPager using FragmentPagerAdapter is blank the second time it is viewed

I have a fragment interface with tabs along the bottom which open different fragments in the main view. I have …

android android-fragments android-viewpager android-nested-fragment