yale8848 / RetrofitCache

RetrofitCache让retrofit2+okhttp3+rxjava配置缓存如此简单。通过注解配置,可以针对每一个接口灵活配置缓存策略;同时让每一个接口方便支持数据模拟,可以代码减小侵入性,模拟数据可以从内存,Assets,url轻松获取。
MIT License
676 stars 85 forks source link

@Cache(time = 10) //缓存设置为10秒 设置10秒无效,缓存一直在 #44

Open weileng11 opened 4 years ago

weileng11 commented 4 years ago

Mobile:

Android OS:

NetWork:

URL:

LIB Version: