Skip to content Skip to sidebar Skip to footer

Fragment + Viewpager Fail When Orientation Change

I have one FragmentActivity, with one ViewPager and one FragmentStatePagerAdapter. When i change the screen orientation screen on viewPager, i can see the viewPager but not the fra

Solution 1:

The problem is "android support v4" library, i am using version r7 (in Maven repository is outdated), and this not work. I changed with version r13 and work fine (refactor proyect to Gradle).


Post a Comment for "Fragment + Viewpager Fail When Orientation Change"