Add offline functionality for cloud storages
Right now the app only works offline as long as no cloud storage has been connected. After that, an internet connection is required, otherwise the diary data can't be loaded or saved. To improve this, the app should cache loaded data and automatically retry failed actions (load/save).
Implement
-
Online/Offline detection -
An offline indicator that should also inform about unsaved data, if there is any -
A cache for loaded data (at least the current year) -
Automatically retry failed actions (load/save)