Skip to content

kongpengcheng/SmartRetrofit

Repository files navigation

SmartRetrofit

这个项目是修改SmartCache框架,增加了对retrofit2.0+以及okhttp3.0+的支持,并增加了demo演示 框架主要是用来增加缓存的,使用SmartCall作为的新的回调接口,可以做到先加载缓存后请求网络数据接口,可以判斷出是否是緩存的数据 个人认为对于okhttp自带的缓存不太好用,原框架使用的retrofit2.0beta版本,我使用的最新的2.1框架改写,发现 有很多api被修改或者移除,对于学习retrofit2.0+有一定的帮助 原项目框架:https://github.com/kongpengcheng/SmartRetrofit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published