How to implement Fragments in Android.

A fragment is a part or portion of Activity. It is also known as sub-activity. The Primary classes related to fragment are: android.app.Fragment: Base class for fragment definitions. android.app.FragmentManager: Class for interacting with fragments within the activity. android.app.FragmentTransaction: Class for performing operations like adding or replacing the fragments. Google also provides compatibility support v4 package … Continue reading How to implement Fragments in Android.