observeInsets

inline fun <T : View> T.observeInsets(insetMask: Int = WindowInsetsCompat.Type.systemBars(), crossinline listener: T.(Insets) -> Unit)