Is there a way to inspect the elements on the scre...
# compose
k
Is there a way to inspect the elements on the screen (metadata, positions, etc ...) while using compose ? In the views system this was done by recursing on the children of the activity's
DecorView
, but now using compose there's only one view added to the activity's
DecorView
which is a
ComposeView
that contains no details about the composables dawn inside. Any ideas ?
Also, is there a way to observe the changes in the composition tree ?
a
If you want that for debug purpose, check this.
🙏🏼 1
a
Do you want this for debugging or something else?
k
Actually I'm seeking to use it in production for some analytic tool am working on
d
Layout Inspector in Android Studio maybe?
i