davx5-ose/app
Sunik Kupfer 2ebb40b152 Implement proper network check before manual sync (bitfireAT/davx5#259)
* Implement proper network check before manual sync

Do a proper connectivity check, to show a message to the user, about the sync being scheduled for when connectivity is available, before enqueueing the SyncWorker.

* Update the sync status in accounts adapter to include pending syncs

This is relevant for when a manual sync is triggered without connectivity.

* Replace Toast by Snackbar

* Replace ViewModel by AndroidViewModel

---------

Co-authored-by: Ricki Hirner <hirner@bitfire.at>
2023-05-11 18:40:29 +02:00
..
schemas/at.bitfire.davdroid.db.AppDatabase show real name of davowner (bitfireAT/davx5#208) 2023-02-20 13:29:56 +01:00
src Implement proper network check before manual sync (bitfireAT/davx5#259) 2023-05-11 18:40:29 +02:00
.gitignore Minor code tweaks (by lint) 2014-12-21 11:24:00 +01:00
build.gradle Use configuration cache to improve build speed (closes bitfireAT/davx5#248) (bitfireAT/davx5#255) 2023-05-10 13:20:57 +02:00
lint.xml Version 0.7 2015-03-12 18:25:09 +01:00
proguard-rules-release.pro Fix ProGuard rules for R8 (AGP 8.0) 2023-05-01 11:00:37 +02:00