We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: