How can I prevent OkHttpUtils2 from saving data which is obtained from the current download? my app displays old data when there is no Internet available, this leads to user confusion.
How can I prevent OkHttpUtils2 from saving data which is obtained from the current download? my app displays old data when there is no Internet available, this leads to user confusion.
You need to show your code that requests the download. When I use OkHttpUtils2 to download data nothing is saved unless I save it myself. If I turn off my network connection then nothing comes at all. Maybe you are doing things differently.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.