override

open fun override(width: Int, height: Int): T

Overrides the com.bumptech.glide.request.target.Target's width and height with the given values. This is useful for thumbnails, and should only be used for other cases when you need a very specific image size.

Return

This request builder.

Parameters

width

The width in pixels to use to load the resource.

height

The height in pixels to use to load the resource.


open fun override(size: Int): T

Overrides the com.bumptech.glide.request.target.Target's width and height with the given size.

Return

This request builder.

See also

Parameters

size

The width and height to use.