library
Module Contents
alltypes
Module Contents
class
Insetter
Module Contents
fun
applyInsetsToView
(
@NonNull
view
:
View
,
@NonNull
insets
:
WindowInsetsCompat
,
@NonNull
initialState
:
ViewState
)
:
Unit
class
Builder
Module Contents
@NonNull
fun
applySystemGestureInsetsToMargin
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applySystemGestureInsetsToPadding
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applySystemWindowInsetsToMargin
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applySystemWindowInsetsToPadding
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applyToView
(
@NonNull
view
:
View
)
:
Insetter
@NonNull
fun
build
(
)
:
Insetter
@NonNull
fun
consumeSystemWindowInsets
(
consumeSystemWindowInsets
:
Boolean
)
:
Insetter.Builder
@NonNull
fun
setOnApplyInsetsListener
(
@Nullable
onApplyInsetsListener
:
OnApplyInsetsListener
?
)
:
Insetter.Builder
static
fun
builder
(
)
:
Insetter.Builder
!
static
fun
setEdgeToEdgeSystemUiFlags
(
@NonNull
view
:
View
,
enabled
:
Boolean
)
:
Unit
interface
OnApplyInsetsListener
Module Contents
abstract
fun
onApplyInsets
(
@NonNull
view
:
View
,
@NonNull
insets
:
WindowInsetsCompat
,
@NonNull
initialState
:
ViewState
)
:
Unit
class
Side
Module Contents
static
val
ALL
:
Int
static
val
BOTTOM
:
Int
static
fun
create
(
left
:
Boolean
,
top
:
Boolean
,
right
:
Boolean
,
bottom
:
Boolean
)
:
Int
static
val
LEFT
:
Int
static
val
NONE
:
Int
static
val
RIGHT
:
Int
static
val
TOP
:
Int
class
Sides
Module Contents
Sides
(
)
open
class
ViewDimensions
Module Contents
static
val
EMPTY
:
ViewDimensions
!
open
fun
equals
(
other
:
Any
?
)
:
Boolean
open
fun
getBottom
(
)
:
Int
open
fun
getLeft
(
)
:
Int
open
fun
getRight
(
)
:
Int
open
fun
getTop
(
)
:
Int
open
fun
hashCode
(
)
:
Int
open
fun
toString
(
)
:
String
open
class
ViewState
Module Contents
ViewState
(
@NonNull
view
:
View
)
open
fun
equals
(
other
:
Any
?
)
:
Boolean
open
fun
getMargins
(
)
:
ViewDimensions
!
open
fun
getPaddings
(
)
:
ViewDimensions
!
open
fun
hashCode
(
)
:
Int
open
fun
toString
(
)
:
String
package
dev.chrisbanes.insetter
Module Contents
class
Insetter
Module Contents
fun
applyInsetsToView
(
@NonNull
view
:
View
,
@NonNull
insets
:
WindowInsetsCompat
,
@NonNull
initialState
:
ViewState
)
:
Unit
class
Builder
Module Contents
@NonNull
fun
applySystemGestureInsetsToMargin
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applySystemGestureInsetsToPadding
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applySystemWindowInsetsToMargin
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applySystemWindowInsetsToPadding
(
flags
:
Int
)
:
Insetter.Builder
@NonNull
fun
applyToView
(
@NonNull
view
:
View
)
:
Insetter
@NonNull
fun
build
(
)
:
Insetter
@NonNull
fun
consumeSystemWindowInsets
(
consumeSystemWindowInsets
:
Boolean
)
:
Insetter.Builder
@NonNull
fun
setOnApplyInsetsListener
(
@Nullable
onApplyInsetsListener
:
OnApplyInsetsListener
?
)
:
Insetter.Builder
static
fun
builder
(
)
:
Insetter.Builder
!
static
fun
setEdgeToEdgeSystemUiFlags
(
@NonNull
view
:
View
,
enabled
:
Boolean
)
:
Unit
interface
OnApplyInsetsListener
Module Contents
abstract
fun
onApplyInsets
(
@NonNull
view
:
View
,
@NonNull
insets
:
WindowInsetsCompat
,
@NonNull
initialState
:
ViewState
)
:
Unit
class
Side
Module Contents
static
val
ALL
:
Int
static
val
BOTTOM
:
Int
static
fun
create
(
left
:
Boolean
,
top
:
Boolean
,
right
:
Boolean
,
bottom
:
Boolean
)
:
Int
static
val
LEFT
:
Int
static
val
NONE
:
Int
static
val
RIGHT
:
Int
static
val
TOP
:
Int
class
Sides
Module Contents
Sides
(
)
open
class
ViewDimensions
Module Contents
static
val
EMPTY
:
ViewDimensions
!
open
fun
equals
(
other
:
Any
?
)
:
Boolean
open
fun
getBottom
(
)
:
Int
open
fun
getLeft
(
)
:
Int
open
fun
getRight
(
)
:
Int
open
fun
getTop
(
)
:
Int
open
fun
hashCode
(
)
:
Int
open
fun
toString
(
)
:
String
open
class
ViewState
Module Contents
ViewState
(
@NonNull
view
:
View
)
open
fun
equals
(
other
:
Any
?
)
:
Boolean
open
fun
getMargins
(
)
:
ViewDimensions
!
open
fun
getPaddings
(
)
:
ViewDimensions
!
open
fun
hashCode
(
)
:
Int
open
fun
toString
(
)
:
String