ViewSizeResolver

interface ViewSizeResolver<T : View> : SizeResolver

A SizeResolver that measures the size of a View.

Types

Companion
Link copied to clipboard
object Companion

Functions

size
Link copied to clipboard
open suspend override fun size(): Size

Return the Size that the image should be loaded at.

Properties

subtractPadding
Link copied to clipboard
open val subtractPadding: Boolean

If true, the view's padding will be subtracted from its size.

view
Link copied to clipboard
abstract val view: T

The View to measure. This field should be immutable.