Closed aabadaa closed 3 months ago
The exception is being thowed here:
@ExperimentalGlanceRemoteViewsApi private suspend fun GlanceAppWidget.compose( context: Context, size: DpSize, state: Any? ): RemoteViews = glanceRemoteViews.compose( context = context, size = size, state = state, content = { Content() } ).remoteViews
here is my widget: object NoteWidget : GlanceAppWidget() {
override val stateDefinition: GlanceStateDefinition<*> = PreferencesGlanceStateDefinition override suspend fun provideGlance(context: Context, id: GlanceId) { provideContent { GlanceTheme(colors =MyAppWidgetGlanceColorScheme.colors) { /* a normal content */ } }
}
the exception appears as soon as the user try to add a widget and the configuration activity is launched
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
The exception is being thowed here:
@ExperimentalGlanceRemoteViewsApi private suspend fun GlanceAppWidget.compose( context: Context, size: DpSize, state: Any? ): RemoteViews = glanceRemoteViews.compose( context = context, size = size, state = state, content = { Content() } ).remoteViews
here is my widget: object NoteWidget : GlanceAppWidget() {
}
the exception appears as soon as the user try to add a widget and the configuration activity is launched
Environment: