yale8848 / RetrofitCache

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

retrofit 2.6版本此库失效 #47

Open protectedMan opened 3 years ago

protectedMan commented 3 years ago

retrofit 2.6版本此库失效, 经过测试这里使用了反射功能来进行一些判断 ,在retrofit 2.6版本可能有些API调整导致判断失效

yale8848 commented 3 years ago

retrofit 2.6 not test, maybe you can pull a request. 😄