toggle menu
Litho
androidJvm
switch theme
search in API
litho-core
/
com.facebook.litho
/
ComponentTree
/
canSkipStateUpdate
can
Skip
State
Update
open
fun
<
T
>
canSkipStateUpdate
(
globalKey
:
String
,
hookStateIndex
:
Int
,
@
Nullable
newValue
:
T
,
isLayoutState
:
Boolean
)
:
Boolean
open
fun
<
T
>
canSkipStateUpdate
(
newValueFunction
:
(
in
T
)
->
out
T
,
globalKey
:
String
,
hookStateIndex
:
Int
,
isLayoutState
:
Boolean
)
:
Boolean