setDefaultRequestOptions
open fun setDefaultRequestOptions(requestOptions: RequestOptions): GlideBuilder
Content copied to clipboard
Sets the default RequestOptions to use for all loads across the app.
Applying additional options with apply will override defaults set here.
Return
This builder.
See also
Parameters
requestOptions
The options to use by default.
open fun setDefaultRequestOptions(factory: Glide.RequestOptionsFactory): GlideBuilder
Content copied to clipboard
Sets a factory for the default RequestOptions to use for all loads across the app and returns this GlideBuilder
.
This factory will NOT be called once per load. Instead it will be called a handful of times and memoized. It's not safe to assume that this factory will be called again for every new load.
Applying additional options with apply will override defaults set here.