Question - What is the lifecycle method of the Xamarin.Forms App?
Answer -
Lifecycle methods are the set of techniques which are executed when the application enters into a specific state. The ways are:
- OnStart: This method will run when the application starts from the beginning.
- OnSleep: This method will execute when the application goes into the background.
- OnResume: This method will execute when the application comes in the foreground from the sleeping state.