T
- The type of data that will be loaded.public static interface DataFetcher.DataCallback<T>
Modifier and Type | Method and Description |
---|---|
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.
|