public interface CacheAbleRequestHandler<T1> extends RequestHandler<T1>
| Modifier and Type | Method and Description |
|---|---|
void |
onCacheAbleRequestFinish(T1 data,
CacheAbleRequest.ResultType type,
boolean outOfDate) |
void |
onCacheData(T1 data,
boolean outOfDate)
the data from cache, outOfDate detective if the data is out of date.
|
onRequestFail, processOriginDataonRequestFinishvoid onCacheData(T1 data, boolean outOfDate)
void onCacheAbleRequestFinish(T1 data, CacheAbleRequest.ResultType type, boolean outOfDate)