Eman G. Mokhtar
Eman G. Mokhtar

Reputation: 13

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.

Upvotes: 0

Views: 148

Answers (1)

Eman G. Mokhtar
Eman G. Mokhtar

Reputation: 13

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);

Upvotes: 1

Related Questions