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

consumeSystemWindowInsets

@NonNull fun consumeSystemWindowInsets(consumeSystemWindowInsets: Boolean): Insetter.Builder

Parameters

consumeSystemWindowInsets - Boolean: true if the system window insets should be consumed, false if not. If unset, the default behavior is to not consume system window insets.

See Also
Insetter#setOnApplyInsetsListener(View)

@NonNull fun consumeSystemWindowInsets(consume: Int): Insetter.Builder

Parameters

consume - Int: how the system window insets should be consumed.

See Also
Insetter#CONSUME_NONEInsetter#CONSUME_ALLInsetter#CONSUME_AUTO