Esempio n. 1
0
        private async Task SendAsync()
        {
            IsBusy = true;

            try
            {
                // Sends the post to the mobile app.
                await timelineService.SendPostAsync(message, PostOnFacebook);

                Message = null;

                NavigationService.GoBack();
            }
            catch
            {
                await DialogService.AlertAsync("An error occurred while sending the post.");
            }
            finally
            {
                IsBusy = false;
            }
        }