July 2015
Beginner to intermediate
600 pages
18h 59m
English
If you are strong-willed and do not believe in the advice above, you can use the fragment implementation built into the Android OS.
To use standard library fragments, you would make three changes to the project:
Subclass the standard library Activity class (android.app.Activity) instead of FragmentActivity. Activities have support for fragments out of the box on API level 11 or higher.
Subclass android.app.Fragment instead of android.support.v4.app.Fragment.
To get the FragmentManager, call getFragmentManager() instead of getSupportFragmentManager().
Read now
Unlock full access