Can I call a Glance Composable within a regular Co...
# glance
n
Can I call a Glance Composable within a regular Composable? I want to have a live preview of my widget within the configuration screen so a user could see what it will look like based on settings they change (like the attached screenshot from Weather Timeline)
m
Unfortunately there is no interop between Jetpack Compose and Glance. Although, you could potentially implement a widget host with https://developer.android.com/reference/android/appwidget/AppWidgetHostView https://developer.android.com/guide/topics/appwidgets/host
👍 1
Feel free to open a Feature Request. It might be sth we could enable. https://issuetracker.google.com/issues/new?component=1097239&template=1611667
👍 1