doOnApplyWindowInsets

open fun doOnApplyWindowInsets(@NonNull view: View, @Nullable attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)
open fun doOnApplyWindowInsets(@NonNull view: View, @Nullable attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int, @Nullable listener: ViewUtils.OnApplyWindowInsetsListener)

Wrapper around androidx.core.view.OnApplyWindowInsetsListener that can automatically apply inset padding based on view attributes.


Wrapper around androidx.core.view.OnApplyWindowInsetsListener that records the initial padding of the view and requests that insets are applied when attached.