Tutorial by Topics: lifecycle

Lifecycle methods are to be used to run code and interact with your component at different points in the components life. These methods are based around a component Mounting, Updating, and Unmounting.

Universal Windows 10 App lifecycle consists of three different states: 1) Running - application is currentyl in use 2) Not running - application is closed and removed from the memory 3) Suspended - application state is frozen but it is still in memory [![enter image description here][1]][1] [1]: https://i.stack.imgur.com/x7MCl.png As you cann see in the picture above there are different events connected with moving from one state to another. In examples section I show how to handle them.
The article describes the different environments in which data can reside and the characteristics of both the data and the environment at each stage of the data life cycle.

Xamarin.Android application lifecycle is the same as normal Android app. When talking about lifecycle we need to talk about: Application lifecycle, Activity lifecycle and Fragment lifecycle.

In the below I'll try to provide a good description and way of using them. I obtained this documentation from the official Android and Xamarin documentation and many helpful web resources provided in remarks section below.

Page 1 of 1