library / dev.chrisbanes.insetter / Insetter / Builder / applyToView

applyToView

@NonNull fun applyToView(@NonNull view: View): Insetter

Builds the Insetter instance and sets it as a OnApplyWindowInsetsListener on the provided View.

Parameters

view - View: the View on which WindowInsetsCompat should be applied