Creates a synthetic request for clearing the cache.paramcache Cache to clearparamcallback Callback to make on the main thread once the cache is clear, or null for none super(Method.GET, null, null); mCache = cache; mCallback = callback;
super(Method.GET, null, null); mCache = cache; mCallback = callback;
return Priority.IMMEDIATE;
// This is a little bit of a hack, but hey, why not. mCache.clear(); if (mCallback != null) { Handler handler = new Handler(Looper.getMainLooper()); handler.postAtFrontOfQueue(mCallback); } return true;
return null;