Skip to content

Annotated Android code for adding and removing fragments and logging their lifecycle events against Activity lifecycle events

Notifications You must be signed in to change notification settings

goat000/FragmentDemo

Repository files navigation

This project is intended to help Android developers get accustomed to the basics of developing with Fragments. It provides a single Activity that starts with a single Fragment, and overrides the lifecycle callbacks in each to log when they are called. Additionally, the Activity contains a button to add and remove another Fragment programmatically.

The code is pretty straightforward, and I've tried to annotate it with explanations and references to relevant stackoverflow discussions.

About

Annotated Android code for adding and removing fragments and logging their lifecycle events against Activity lifecycle events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages