android - Latest Volley Version haven't setShouldCache method? -


i need petition volley, nowadays version of volley 1.0.9 doesn't have method request.setshouldcache(false); cancel cache. i've tried volley+ (a fork of volley) doesn't have too.

what can cancel cache? need cancel in order make login petition each time.

in latest versions method disappear, can use:

volley_queue.getcache().clear(); 

to clear cache.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -