Example #1
0
        private async void OnCloudDownload(object sender, EventArgs e)
        {
            try
            {
                KurukuruIn();
                log("Downloading from cloud...");
                await Persister.Download();

                Refresh();
                log(null);
                KurukuruOut();
                await DisplayAlert("tSecret", $"Load cloud data successfully.", "OK");
            }
            catch (Exception ex)
            {
                await DisplayAlert("ERROR:tSecret", $"Cloud communication exception.\r\n{ex.Message}", "Cancel");

                log(null);
                KurukuruOut();
            }
        }