-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.request.RequestListener
@Deprecated() public abstract class ExperimentalRequestListener<ResourceT> implements RequestListener<ResourceT>
An extension of RequestListener with additional parameters.
All equivalent methods are called at the relevant time by ImageModule. Implementations therefore should only implement one version of each method.
-
-
Method Summary
Modifier and Type Method Description abstract booleanonResourceReady(ResourceT resource, Object model, Target<ResourceT> target, DataSource dataSource, boolean isFirstResource, boolean isAlternateCacheKey)Identical to onResourceReady except that {@code isAlternateCacheKey}is provided.-
-
Method Detail
-
onResourceReady
abstract boolean onResourceReady(ResourceT resource, Object model, Target<ResourceT> target, DataSource dataSource, boolean isFirstResource, boolean isAlternateCacheKey)
Identical to onResourceReady except that
{@code isAlternateCacheKey}is provided.- Parameters:
isAlternateCacheKey- True if the data was obtained from the disk cache using an alternatecache key provided by a com.mobwith.imgmodule.load.model.ModelLoader via .
-
-
-
-