Everyone else got some reply.... but not this one ...
# compose
e
Everyone else got some reply.... but not this one https://kotlinlang.slack.com/archives/CJLTWPH7S/p1664285056093139 😞 Hopes someone can shed some light on the use of
ViewRootForInspector
. It is used by
Dialog
,
Popup
etc... I'm trying to understand how should it be used along with
AbstractCompose
. Thanks 🙏
e
What are you trying to do? Why do you specifically want ot use
ViewRootForInspector
? This might help: https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewRootForInspector
e
Thanks @enighma. I was intending to build my own Custom Compose Component that is not constraint by the caller parent, hence looking and Dialog and Popup. They are implement
AbstractComposeView
and also
ViewRootForInspector
. It looks like I can achieve my own Custom Compose Component using
AbstractComposeView
, so I'm curious what's
ViewRootForInspector
for.... Is it okay to not implement it?