The last thing we will do is make sure that the map is up to date with the latest points when the app is resumed. The easiest way to do this is to set the MainPage property in the App.xaml.cs file to a new instance of MainView, in the same way as the constructor, as shown in the following code:
protected override void OnResume()
{
MainPage = Resolver.Resolve<MainView>();
}