submit
open fun <T> submit(requestBuilder: RequestBuilder<T>): ListenableFuture<T>
Content copied to clipboard
Convert a pending load request into a ListenableFuture.
Sample code:
ListenableFuture<File> image =
GlideFutures.submit(requestManager.asFile().load(url));
Content copied to clipboard
Parameters
requestBuilder
A request builder for the resource to load. It must be tied to an application Glide instance, and must not have a listener set.
<T>
The type of resource that will be loaded (Bitmap, Drawable, etc).