ResourceCallback

interface ResourceCallback

A callback that listens for when a resource load completes successfully or fails due to an exception.

Functions

Link copied to clipboard
abstract fun getLock(): Any
Returns the lock to use when notifying individual requests.
Link copied to clipboard
abstract fun onLoadFailed(e: GlideException)
Called when a resource fails to load successfully.
Link copied to clipboard
abstract fun onResourceReady(    resource: Resource<out Any>,     dataSource: DataSource,     isLoadedFromAlternateCacheKey: Boolean)
Called when a resource is successfully loaded.

Inheritors

Link copied to clipboard