Add an option to change cache size and clear the cache

This commit is contained in:
inorichi
2015-12-07 15:53:01 +01:00
parent 4aee1ca8a3
commit 8f7443a686
22 changed files with 331 additions and 158 deletions

View File

@@ -35,8 +35,8 @@ public class DataModule {
@Provides
@Singleton
CacheManager provideCacheManager(Application app) {
return new CacheManager(app);
CacheManager provideCacheManager(Application app, PreferencesHelper preferences) {
return new CacheManager(app, preferences);
}
@Provides