mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Documentation
This commit is contained in:
parent
1efc6e38ed
commit
0a33dc5dae
1 changed files with 2 additions and 0 deletions
|
|
@ -151,7 +151,9 @@ public class CommonsApplication extends Application {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//For caching area -> categories
|
||||||
cacheData = new CacheController();
|
cacheData = new CacheController();
|
||||||
|
|
||||||
DiskBasedCache cache = new DiskBasedCache(getCacheDir(), 16 * 1024 * 1024);
|
DiskBasedCache cache = new DiskBasedCache(getCacheDir(), 16 * 1024 * 1024);
|
||||||
volleyQueue = new RequestQueue(cache, new BasicNetwork(new HurlStack()));
|
volleyQueue = new RequestQueue(cache, new BasicNetwork(new HurlStack()));
|
||||||
volleyQueue.start();
|
volleyQueue.start();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue