Esempio n. 1
0
 void HandleSaveFailed(object sender, string message) =>
 _mainThread.BeginInvokeOnMainThread(async() => await DisplayAlert("Save Failed", message, "OK"));
Esempio n. 2
0
 void HandleGetLatestReleaseFailed(object sender, string message) =>
 _mainThread.BeginInvokeOnMainThread(async() => await DisplayAlert("Failed to Retrieve Latest Version", message, "OK"));
Esempio n. 3
0
        void HandleSkipButtonTapped(object sender, EventArgs e)
        {
            _analyticsService.Track("Skip Button Tapped");

            _mainThread.BeginInvokeOnMainThread(() => CurrentPage = Children.Last());
        }
Esempio n. 4
0
 static void PlatformBeginInvokeOnMainThread(Action action) => implementation.BeginInvokeOnMainThread(action);