public interface ResourceCallback
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getLock()
Returns the lock to use when notifying individual requests.
|
void |
onLoadFailed(GlideException e)
Called when a resource fails to load successfully.
|
void |
onResourceReady(Resource<?> resource,
DataSource dataSource)
Called when a resource is successfully loaded.
|
void onResourceReady(Resource<?> resource, DataSource dataSource)
resource - The loaded resource.void onLoadFailed(GlideException e)
e - a non-null GlideException.java.lang.Object getLock()