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.
Asked
Active
Viewed 95 times
0
-
Kindly, show the code . – Kamal Nayan May 08 '21 at 14:57
-
@KamalNayan thank you very much, I found the answer, the problem was in the new volley library that i use, it solved by using request.setShouldCache(false); before adding the request to the queue. – Eman G. Mokhtar May 08 '21 at 15:52
1 Answers
1
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);

Eman G. Mokhtar
- 13
- 1
- 3