简体   繁体   中英

android app doesn't update unill i clear cache

I am new in android developing, I have developing app that fetch data from server and update the UI with it, my problem is that when i do change in the app it doesn't update the UI until I go to the app storage and clear cache I don't know where is the problem in my code and who to solve it any help will be appreciated.

Thank god I found it in this answer: Disable Volley cache management The problem was in my new volley library I was changed my library from 'com.mcxiaoke.volley:library:1.0.19' to 'dev.dworks.libs:volleyplus:0.1.4' and it seemed that in the new one I should stop caching by my own by this commend

request.setShouldCache(false);
requestQueue.add(request);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM