ImageLoadParameters

Constructors

Link copied to clipboard

Functions

Link copied to clipboard

Sets if the image's loading placeholder should be shown

Link copied to clipboard

Sets the image scale once the load has been completed

Link copied to clipboard

Sets the image resize mode.

Link copied to clipboard
fun withSize(width: Dp, height: Dp): ImageLoadParameters
fun withSize(width: Int, height: Int): ImageLoadParameters

Sets the value of overrideSize and returns itself.

Properties

Link copied to clipboard
var overrideSize: Pair<Int, Int>? = null

Can be set to any value to override the set image size.

Link copied to clipboard

Returns resultImageScale as an int, this is, for example, if resultImageScale is 0.5, which means the image should be half the resolution, this will return 2.

Link copied to clipboard
var resultImageScale: Float? = null
Link copied to clipboard
Link copied to clipboard