private void UpdateOnFinished(object sender, OperationProgressFinishedEventArgs e)
 {
     if (e.Error != null && !e.IsCancelled)
     {
         AppHelpers.DispatchAction(async () =>
         {
             if (Page == null && ModeFromArgument(e.Argument) == BoardPageLoaderUpdateMode.Load)
             {
                 Update.Start2(BoardPageLoaderUpdateMode.GetFromCache);
             }
             await AppHelpers.ShowError(e.Error);
         }, false, 5);
     }
 }
Ejemplo n.º 2
0
 private void OperationOnFinished(object sender, OperationProgressFinishedEventArgs e)
 {
     if (e.Error != null && !e.IsCancelled)
     {
         AppHelpers.ActionOnUiThread(async () =>
         {
             await AppHelpers.ShowError(e.Error);
         });
     }
 }
Ejemplo n.º 3
0
 private void OnDownloadFinished(object sender, OperationProgressFinishedEventArgs operationProgressFinishedEventArgs)
 {
     PostView.ViewModel = null;
 }