public interface RequestCoordinator
Target
.Modifier and Type | Method and Description |
---|---|
boolean |
canNotifyStatusChanged(Request request)
Returns true if the
Request can display a placeholder. |
boolean |
canSetImage(Request request)
Returns true if the
Request can display a loaded bitmap. |
boolean |
isAnyResourceSet()
Returns true if any coordinated
Request has successfully completed. |
void |
onRequestFailed(Request request)
Must be called when a
Request coordinated by this object fails. |
void |
onRequestSuccess(Request request)
Must be called when a
Request coordinated by this object completes successfully. |
boolean canSetImage(Request request)
Request
can display a loaded bitmap.request
- The Request
requesting permission to display a bitmap.boolean canNotifyStatusChanged(Request request)
Request
can display a placeholder.request
- The Request
requesting permission to display a placeholder.boolean isAnyResourceSet()
Request
has successfully completed.Request.isComplete()
void onRequestSuccess(Request request)
Request
coordinated by this object completes successfully.