Package com.bumptech.glide.request
Class ExperimentalRequestListener<ResourceT>
java.lang.Object
com.bumptech.glide.request.ExperimentalRequestListener<ResourceT>
- Type Parameters:
ResourceT- The type of resource that will be loaded for the request.
- All Implemented Interfaces:
RequestListener<ResourceT>
@Deprecated
public abstract class ExperimentalRequestListener<ResourceT>
extends Object
implements RequestListener<ResourceT>
Deprecated.
Not ready for public consumption, avoid using this class. It may be removed at any
time.
An extension of
RequestListener with additional parameters.
All equivalent methods are called at the relevant time by Glide. Implementations therefore should only implement one version of each method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRequestStarted(Object model) Deprecated.abstract booleanonResourceReady(ResourceT resource, Object model, Target<ResourceT> target, DataSource dataSource, boolean isFirstResource, boolean isAlternateCacheKey) Deprecated.Identical toRequestListener.onResourceReady(Object, Object, Target, DataSource, boolean)except thatisAlternateCacheKeyis provided.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.bumptech.glide.request.RequestListener
onLoadFailed, onResourceReady
-
Constructor Details
-
ExperimentalRequestListener
public ExperimentalRequestListener()Deprecated.
-
-
Method Details
-
onRequestStarted
Deprecated. -
onResourceReady
public abstract boolean onResourceReady(ResourceT resource, Object model, Target<ResourceT> target, DataSource dataSource, boolean isFirstResource, boolean isAlternateCacheKey) Deprecated.Identical toRequestListener.onResourceReady(Object, Object, Target, DataSource, boolean)except thatisAlternateCacheKeyis provided.- Parameters:
isAlternateCacheKey- True if the data was obtained from the disk cache using an alternate cache key provided by aModelLoaderviaModelLoader.LoadData.alternateKeys. Valid only ifdataSourceisDataSource.DATA_DISK_CACHEorDataSource.RESOURCE_DISK_CACHE.
-