Example #1
0
 void DisplayMsg(CrossPushNotificationListener cs, string message)
 {
     Device.BeginInvokeOnMainThread(() =>
     {
         DisplayAlert("Notification", message, "OK");
         Main_Activity.IsRunning = false;
         Main_Activity.IsVisible = false;
     });
 }
Example #2
0
 void DisplayMsg(CrossPushNotificationListener cs, string message)
 {
     Device.BeginInvokeOnMainThread(() =>
     {
         DisplayAlert("Notification", message, "OK");
         Test_Activity.IsRunning = false;
         btnReg.IsEnabled        = true;
         btnUnreg.IsEnabled      = true;
         btnSend.IsEnabled       = true;
     });
 }