If you are not Familiar with Fragments please check my Android Working with Fragment post. In my earlier post, i described how to replace the fragments in container containing one fragment at a time to check refer here Android Working with Fragments Part Two In this post, I will describe how to add the fragments in the container … Continue reading Android Working with Fragments Part three
If you are not Familiar with Fragments please check my Android Working with Fragment post. In this post, I will be describe working with fragments using a Container layout i.e having a container, and replacing the fragments in the container according to user actions. In brief, we will have one fragment in the container at a time … Continue reading Android Working with Fragments Part Two
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.