85 Forks
672 Stars
672 Watchers

RetrofitCache

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

How to download and setup RetrofitCache

Open terminal and run command
git clone https://github.com/yale8848/RetrofitCache.git
git clone is used to create a copy or clone of RetrofitCache repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with RetrofitCache https://github.com/yale8848/RetrofitCache/archive/master.zip

Or simply clone RetrofitCache with SSH
[email protected]:yale8848/RetrofitCache.git

If you have some problems with RetrofitCache

You may open issue on RetrofitCache support forum (system) here: https://github.com/yale8848/RetrofitCache/issues