public abstract class SpotifyLoader<D> extends android.content.AsyncTaskLoader<Response<D>>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
SpotifyLoader(android.content.Context context,
SpotifyApi api) |
| Modifier and Type | Method and Description |
|---|---|
abstract D |
call(SpotifyService service) |
Response<D> |
loadInBackground() |
protected void |
onReset() |
protected void |
onStartLoading() |
cancelLoadInBackground, dump, isLoadInBackgroundCanceled, onCanceled, onCancelLoad, onForceLoad, onLoadInBackground, setUpdateThrottleabandon, cancelLoad, commitContentChanged, dataToString, deliverCancellation, deliverResult, forceLoad, getContext, getId, isAbandoned, isReset, isStarted, onAbandon, onContentChanged, onStopLoading, registerListener, registerOnLoadCanceledListener, reset, rollbackContentChanged, startLoading, stopLoading, takeContentChanged, toString, unregisterListener, unregisterOnLoadCanceledListenerpublic SpotifyLoader(android.content.Context context,
SpotifyApi api)
protected void onStartLoading()
public abstract D call(SpotifyService service) throws java.lang.Exception
java.lang.Exception