A sample of how to create a ViewPager inside a Fragment on Android.
android-fragment-viewpager is hosted in the following web site
https://github.com/rogcg/android-fragment-viewpager
If you think the Android project android-fragment-viewpager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of android-fragment-viewpager.
Item | Value |
---|---|
Java File Count | 5 |
Supported screen sizes | [mdpi, xxhdpi, hdpi, xhdpi] |
Activity Count | 1 |
Fragment Count | 5 |
There are 2 image files in android-fragment-viewpager. The names of the image files are listed as follows.
drawer_shadow.9.png ic_drawer.png
The following screenshort is generated from the image listed above.
android-fragment-viewpager has the following Java source files.
com.myapp.navigationdrawer.app.MainActivity.java com.myapp.navigationdrawer.app.MyFragment.java com.myapp.navigationdrawer.app.NavigationDrawerFragment.java com.myapp.navigationdrawer.app.PageOneFragment.java com.myapp.navigationdrawer.app.PageTwoFragment.java