public override void OnReceive(Context context, Intent intent) { // We don't need to do any async code, since notifying the widget manager // automatically creates a service that will do the async work, so there's no // need to create a service just for receiving this alarm. // Updating the widget does the following... // (1) Updates the widget // (2) Schedules the next alarm that will call this again in the future to update again WidgetsHelper.UpdateScheduleWidget(); }
public override Task UpdateScheduleTile(AccountDataItem account, AccountDataStore data) { WidgetsHelper.UpdateScheduleWidget(); return(Task.FromResult(true)); }