Title:
fragments-viewpager-example-master Download
Description: This code shows how to replace Android Fragments inside a ViewPager.
Imagine the following structure:
You can replace Root fragment for another one and, at any moment, you could swipe to Side fragment. Also, it s possible to return to previous fragments by pressing back button.
To Search:
File list (Check if you may need any files):
fragments-viewpager-example-master
..................................\.gitignore
..................................\AndroidManifest.xml
..................................\LICENSE
..................................\Readme.md
..................................\res
..................................\...\drawable-hdpi
..................................\...\.............\ic_launcher.png
..................................\...\drawable-mdpi
..................................\...\.............\ic_launcher.png
..................................\...\drawable-xhdpi
..................................\...\..............\ic_launcher.png
..................................\...\drawable-xxhdpi
..................................\...\...............\ic_launcher.png
..................................\...\layout
..................................\...\......\activity_main.xml
..................................\...\......\first_fragment.xml
..................................\...\......\root_fragment.xml
..................................\...\......\second_fragment.xml
..................................\...\......\static_fragment.xml
..................................\...\values-sw600dp
..................................\...\..............\dimens.xml
..................................\...\values-sw720dp-land
..................................\...\...................\dimens.xml
..................................\...\values-v11
..................................\...\..........\styles.xml
..................................\...\values-v14
..................................\...\..........\styles.xml
..................................\...\values
..................................\...\......\dimens.xml
..................................\...\......\strings.xml
..................................\...\......\styles.xml
..................................\src
..................................\...\com
..................................\...\...\pineappslab
..................................\...\...\...........\frcontainer
..................................\...\...\...........\...........\FirstFragment.java
..................................\...\...\...........\...........\MainActivity.java
..................................\...\...\...........\...........\RootFragment.java
..................................\...\...\...........\...........\SecondFragment.java
..................................\...\...\...........\...........\StaticFragment.java