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

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -