基于Retrofit2,okhttp3的数据缓存(cache)技术

在有网的情况下设置缓存时间t(s),在有网或者无网时都在t(s)之后就会缓存数据清空;
有很多局限性;可以查看:
[基于Retrofit2,okhttp3的数据缓存(cache)技术–深入挖掘]做了更深入、更全面的解决;](http://blog.csdn.net/yangjianbo456/article/details/52975183)

请查看最新文章:点击这里

猜你喜欢

转载自blog.csdn.net/yangjianbo456/article/details/52063630