Add an option to change cache size and clear the cache
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user