-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:improve Quran data caching mechanism
- Add cache validity duration check in QuranImpl - Implement last update timestamp functionality in QuranLocalDataSource - Modify QuranImpl to use cache when valid and fall back to remote data - Add SharedPreferences for storing timestamp in QuranLocalDataSource - Create new SaveLastUpdateTimestampException - Update quranLocalDataSourceProvider to include SharedPreferences
- Loading branch information
1 parent
3daaf05
commit 6cfe0bd
Showing
3 changed files
with
62 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters