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