This site requires javascript.
Android Code Search
file:androidx/compose/ui/layout/LayoutId.kt symbol:layoutId
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/layout/
LayoutId.kt
content_copy
Preview
32:
33:
34:
35:
36:
*/
@Stable
fun
Modifier.
layoutId
(layoutId: Any) = this then LayoutIdElement(layoutId = layoutId)
private
data
class
LayoutId
Element(
private
val
layoutId
: Any) :
ModifierNodeElement<LayoutIdModifier>() {
53:
54:
55:
*/
internal
class
LayoutId
Modifier(
layoutId: Any,
58:
59:
override
var
layoutId
: Any = layoutId
internal
set
70:
71:
72:
73:
*/
interface
LayoutId
ParentData {
val
layoutId
: Any
}
83:
84:
85:
*/
val
Measurable.
layoutId
: Any?
get
() = (parentData
as?
LayoutIdParentData)?.layoutId
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main