protected override void OnStart() { Update(); switch (Device.RuntimePlatform) { case Device.Android: TodayPage.nonotesImage.Source = Addition.ChooseImage(); allNotesPage.nonotesImage.Source = Addition.ChooseImage(); break; case Device.UWP: MainPage_UWP.nodateImage.Source = "images/" + Addition.ChooseImage(); break; default: break; } //TodayPage.nonotesImage.Source = Addition.ChooseImage(); //allNotesPage.nonotesImage.Source = Addition.ChooseImage(); }
protected override void OnDisappearing() { base.OnDisappearing(); nonotesImage.IsVisible = false; nonotesImage.Source = Addition.ChooseImage(); }