ResourceCallback
A callback that listens for when a resource load completes successfully or fails due to an exception.
Functions
Link copied to clipboard
Called when a resource fails to load successfully.
Link copied to clipboard
abstract fun onResourceReady( resource: Resource<out Any>, dataSource: DataSource, isLoadedFromAlternateCacheKey: Boolean)
Content copied to clipboard
Called when a resource is successfully loaded.