# Fragment LifeCycle ###### tags: `Android LifeCycle` [TOC] ## LifeCycle Image ![](https://i.imgur.com/193QI7i.png) ## Notes ### 1. this vs getViewLifecycleOwner **this** >If we pass **this** as lifecycle to an observer we will refer to **Fragment's lifeCycle**, therefore it will run from onCreate till onDestroy. If onDestroy is **NOT** called, then this observer will remain forever. [color=lightblue] **getViewLifecycleOwner** >As for **getViewLifecycleOwner()**, it scopes for fragment's view lifecycle, therefore it will start from onCreateView to onDestroyView.[color=lightblue] ## Lifecycle Stage ### OnActivityCreated This one is called just after the Activity's onCreate.