Intro to Android


A Fragment's lifecycle is tied to its hosting activity, but has independent methods as well.

Fragment Lifecycle

Many of these lifecycle methods are similar to the Activity's methods and are intertwined with the Activity's state.

If you'd like more in depth information about the fragment lifceycle, check out Android's documentation: Fragment Lifecycle and Coordinating with the activity.


This is where you configure view components.


After this phase, you have access to the Activity.