https://kotlinlang.org logo
#compose
Title
# compose
e

eygraber

01/18/2023, 7:32 AM
Is there a way to set a label on a composable and that label is used to id the composable in layout inspector? I have a composable function that comes from an interface and there are a lot of them. In layout inspector it's very hard to differentiate between them.
z

Zach Klippenstein (he/him) [MOD]

01/18/2023, 4:17 PM
You could probably use testTag for this - I think that shows up in the inspector but not sure.
e

eygraber

01/26/2023, 7:31 PM
Tried that in Flamingo Beta and it didn't show up in the inspector
2 Views