SizeAuditor

fun interface SizeAuditor

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract operator fun invoke(view: View, old: Size, new: Size, min: Size, max: Size): Size

Called whenever the View's size is changing, providing an opportunity to manage the final size. The result of this call will still be clipped to the View's min/max allowed sizes.