|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceCallback
A callback that listens for when a resource load completes successfully or fails due to an exception.
Method Summary | |
---|---|
void |
onException(Exception e)
Called when a resource fails to load successfully. |
void |
onResourceReady(Resource<?> resource)
Called when a resource is successfully loaded. |
Method Detail |
---|
void onResourceReady(Resource<?> resource)
resource
- The loaded resource.void onException(Exception e)
e
- The exception that caused the failure, or null it the load failed for some reason other than an
exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |