We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f9aed commit 2503fd1Copy full SHA for 2503fd1
commons/src/main/java/org/wikimedia/commons/CommonsApplication.java
@@ -112,7 +112,9 @@ public void onCreate() {
112
// Initialize EventLogging
113
EventLog.setApp(this);
114
115
- volleyQueue = Volley.newRequestQueue(this);
+ DiskBasedCache cache = new DiskBasedCache(getCacheDir(), 16 * 1024 * 1024);
116
+ volleyQueue = new RequestQueue(cache, new BasicNetwork(new HurlStack()));
117
+ volleyQueue.start();
118
}
119
120
private com.android.volley.toolbox.ImageLoader imageLoader;
0 commit comments