Xamarin.Forms App Lifecycle Tutorial

In this tutorial, you learn how to:

  • Respond to an application starting, sleeping, or resuming.
  • Persist data across lifecycle state changes.


To complete this tutorial you should have Visual Studio 2017 (latest release), with the Mobile development with .NET workload installed. In addition, you will require a paired Mac to build the tutorial application on iOS. For information about installing the Xamarin platform, see Installing Xamarin. For information about connecting Visual Studio 2017 to a Mac build host, see Pair to Mac for Xamarin.iOS development.

Before attempting this tutorial, you should have successfully completed the: