onResourceReady

abstract fun onResourceReady(    resource: Resource<out Any>,     dataSource: DataSource,     isLoadedFromAlternateCacheKey: Boolean)

Called when a resource is successfully loaded.

Parameters

resource

The loaded resource.