Fragment

Android Fragment Lifecycle

Android fragment belongs to activity. Like activity, fragment also has it’s own life cycle. In one fragment life cycle, there are four states, running state, pause state, stop state and destroy state. Each state has it’s own call back method in fragment class.

Android Fragment Save / Retrieve Instance State Example

Android activity provide method to save / retrieve instance state data. Please read article¬†Android Save Retrieve Activity Instance State Example to learn more. Fragment also provide method for you to save / retrieve related instance state data. This article will show you an example about how to save / retrieve instance state data in android …

Android Fragment Save / Retrieve Instance State Example Read More »