partial void Construct()
{
// Subscribe to key lifecyle events to know when the app
// transitions to and from foreground and background.
// Leaving the background is an important transition
// because the app may need to restore UI.
EnteredBackground += App_EnteredBackground;
LeavingBackground += App_LeavingBackground;
// Subscribe to regular lifecycle events to display a toast notification
Suspending += App_Suspending;
Resuming += App_Resuming;
}