Пример #1
0
 //Show the popup
 public void Popup(string imageLink)
 {
     try
     {
         Device.BeginInvokeOnMainThread(() =>
         {
             ImagePopup newPopup = new ImagePopup();
             App.NavigateToPage(newPopup, true, true);
             newPopup.LoadImage(imageLink);
         });
     }
     catch (Exception ex)
     {
         Debug.WriteLine("Failed to create imagepopup: " + ex.Message);
     }
 }