Can be implemented by values used as parent data to make them usable as tags. If a parent data value implements this interface, it can then be returned when querying Measurable.layoutId for the corresponding child.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# LayoutIdParentData\n==================\n\nArtifact: [androidx.compose.ui:ui](/jetpack/androidx/releases/compose-ui) \n[View Source](https://cs.android.com/search?q=file:androidx/compose/ui/layout/LayoutId.kt+class:androidx.compose.ui.layout.LayoutIdParentData) \nAdded in [1.0.0](/jetpack/androidx/releases/compose-ui#1.0.0)\nCommon/AllAndroid/JVM\n - Cmn \n\n ```\n interface LayoutIdParentData\n ```\n\n*** ** * ** ***\n\nCan be implemented by values used as parent data to make them usable as tags. If a parent data value implements this interface, it can then be returned when querying [Measurable.layoutId](/reference/kotlin/androidx/compose/ui/layout/package-summary#(androidx.compose.ui.layout.Measurable).layoutId()) for the corresponding child.\n\nSummary\n-------\n\n| ### Public properties |\n|-----------------------------------------------------------------------------|----------------------------------------------------------------------------------------|-----|\n| [Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) | [layoutId](/reference/kotlin/androidx/compose/ui/layout/LayoutIdParentData#layoutId()) | Cmn |\n\nPublic properties\n-----------------\n\n### layoutId\n\nCmn \nAdded in [1.0.0](/jetpack/androidx/releases/compose-ui#1.0.0) \n\n```\nval layoutId: Any\n```"]]