timeout

open fun timeout(timeoutMs: Int): T

Sets the read and write timeout for the http requests used to load the image.

This is a component option specific to Glide's default networking library and . If you use any other networking library including Glide's Volley or OkHttp integration libraries, this option will be ignored.

See also

Parameters

timeoutMs

The read and write timeout in milliseconds.