public interface ResourceCallback
Modifier and Type | Method and Description |
---|---|
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
.