PreloadTarget
A one time use com.bumptech.glide.request.target.Target class that loads a resource into memory and then clears itself.
Parameters
<Z>
The type of resource that will be loaded into memory.
Functions
Link copied to clipboard
A method to retrieve the size of this target.
Link copied to clipboard
open fun <Z> obtain( requestManager: RequestManager, width: Int, height: Int): PreloadTarget<Z>
Content copied to clipboard
Returns a PreloadTarget.
Link copied to clipboard
A mandatory lifecycle callback that is called when a load is cancelled and its resources are freed.
Link copied to clipboard
A mandatory lifecycle callback that is called when a load fails.
Link copied to clipboard
A lifecycle callback that is called when a load is started.
Link copied to clipboard
The method that will be called when the resource load has finished.
Link copied to clipboard
Removes the given callback from the pending set if it's still retained.