void syncProgressHandler(notificationEventArgs e)
 {
     this.InvokeOnMainThread(delegate
     {
         if (!e.isSyncCompleted)
         {
             syncProgressMessage();
         }
     });
 }
Exemple #2
0
 void notificationChange(notificationEventArgs e)
 {
     this.InvokeOnMainThread(delegate
     {
         Console.WriteLine(" got event");
         if (e.isSyncCompleted)
         {
             reloadNotifications("COMPLETE", "");
         }
         else
         {
             reloadNotifications(e.current.notificationTypeID, e.current.notificationType);
         };
     });
 }