public static interface DecodeTask.DecodeCallback
Modifier and Type | Method and Description |
---|---|
void |
onDecodeBegin(RequestKey key)
Notifies that the async task's work is about to begin.
|
void |
onDecodeCancel(RequestKey key)
The task has been canceled, and
onDecodeComplete(RequestKey, ReusableBitmap)
will not be called. |
void |
onDecodeComplete(RequestKey key,
ReusableBitmap result)
The task is now complete and the ReusableBitmap is available for use.
|
void onDecodeBegin(RequestKey key)
N.B. this method runs on the UI thread.
void onDecodeComplete(RequestKey key, ReusableBitmap result)
void onDecodeCancel(RequestKey key)
onDecodeComplete(RequestKey, ReusableBitmap)
will not be called.