toggle menu
Litho
androidJvm
switch theme
search in API
litho-core
/
com.facebook.litho
/
LayoutState
/
Companion
Companion
object
Companion
Members
Properties
id
Generator
Link copied to clipboard
@get:
JvmStatic
val
idGenerator
:
AtomicInteger
NO_PREVIOUS_LAYOUT_STATE_ID
Link copied to clipboard
const
val
NO_PREVIOUS_LAYOUT_STATE_ID
:
Int
Functions
get
Type
From
Id
Link copied to clipboard
@
JvmStatic
@
VisibleForTesting
fun
getTypeFromId
(
id
:
Long
)
:
Int
is
From
Sync
Layout
Link copied to clipboard
@
JvmStatic
fun
isFromSyncLayout
(
source
:
Int
)
:
Boolean
is
Null
Or
Empty
Link copied to clipboard
@
JvmStatic
fun
isNullOrEmpty
(
layoutState
:
LayoutState
?
)
:
Boolean
layout
Source
To
String
Link copied to clipboard
@
JvmStatic
fun
layoutSourceToString
(
source
:
Int
)
:
String