Request

interface Request

A request that loads a resource for an com.bumptech.glide.request.target.Target.

Functions

Link copied to clipboard
abstract fun begin()
Starts an asynchronous load.
Link copied to clipboard
abstract fun clear()
Prevents any bitmaps being loaded from previous requests, releases any resources held by this request, displays the current placeholder if one was provided, and marks the request as having been cancelled.
Link copied to clipboard
abstract fun isAnyResourceSet(): Boolean
Returns true if a resource is set, even if the request is not yet complete or the primary request has failed.
Link copied to clipboard
abstract fun isCleared(): Boolean
Returns true if the request has been cleared.
Link copied to clipboard
abstract fun isComplete(): Boolean
Returns true if the request has completed successfully.
Link copied to clipboard
abstract fun isEquivalentTo(other: Request): Boolean
Returns true if this Request is equivalent to the given Request (has all of the same options and sizes).
Link copied to clipboard
abstract fun isRunning(): Boolean
Returns true if this request is running and has not completed or failed.
Link copied to clipboard
abstract fun pause()
Similar to clear for in progress requests (or portions of a request), but does nothing if the request is already complete.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard