T
- The type of data that will be loaded.public static interface DataFetcher.DataCallback<T>
限定符和类型 | 方法和说明 |
---|---|
void |
onDataReady(T data)
Called with the loaded data if the load succeeded, or with
null if the load failed. |
void |
onLoadFailed(Exception e)
Called when the load fails.
|