Create your account

Already have an account? Login here

Create account

50. Fragment Activity Combined Lifecycle

Design + Code an Android App from Scratch

Woah, wait a second..

Scrounge up some loose change to become a pro member, or login to your account to view this lesson.

Alright, join now. Or login to your account if you're already a pro member.

This video illustrates the lifecycle of a Fragment in conjunction with the lifecycle of an Activity. The Log-cat shows the sequence of method calls from both the Activity and the Fragment at the same time. The Fragment methods include onCreate, onCreateView, onViewCreated, onActivityCreated, onStart, onRestart, onResume, onPause, onStop, onDestroy, onDestroyView and onDetach whereas the activity methods include onCreate, onStart, onResume, onPause, onStop and onDestroy

Course Cirriculum