public interface IRepositoryManager
IModel 必要的 Api 做数据处理| Modifier and Type | Method and Description |
|---|---|
void |
clearAllCache()
清理所有缓存
|
android.content.Context |
getContext()
获取
Context |
<T> T |
obtainCacheService(java.lang.Class<T> cache)
根据传入的 Class 获取对应的 RxCache service
|
<T> T |
obtainRetrofitService(java.lang.Class<T> service)
根据传入的 Class 获取对应的 Retrofit service
|
<T> T obtainRetrofitService(java.lang.Class<T> service)
T - Retrofit service 类型service - Retrofit service class<T> T obtainCacheService(java.lang.Class<T> cache)
T - RxCache service 类型cache - RxCache service classvoid clearAllCache()
android.content.Context getContext()
ContextContext