mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
Push the reminder rows into the widget update itself via RemoteViewsCompat instead of binding a RemoteViewsService adapter, which has been deprecated since API 31. Removes the bound service entirely, so there is no cached factory to invalidate and no separate notifyAppWidgetViewDataChanged step that can race or be missed. Adds androidx.core:core-remoteviews for the API 24-30 fallback. Row ids are now derived from the reminder id rather than the list position, and the list is capped at 50 rows so the update fits in a binder transaction.