void DisplayMsg(CrossPushNotificationListener cs, string message) { Device.BeginInvokeOnMainThread(() => { DisplayAlert("Notification", message, "OK"); Main_Activity.IsRunning = false; Main_Activity.IsVisible = false; }); }
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; }); }