Skip to content

Instantly share code, notes, and snippets.

@igorescodro
Last active January 5, 2022 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorescodro/7aa5eb7125a842447721da81034e46f5 to your computer and use it in GitHub Desktop.
Save igorescodro/7aa5eb7125a842447721da81034e46f5 to your computer and use it in GitHub Desktop.
class HelloWorldWidget: GlanceAppWidget() {
@Composable
override fun Content() {
Text(text = "Hello world!")
}
}
class HelloWorldWidgetReceiver : GlanceAppWidgetReceiver() {
override val glanceAppWidget = HelloWorldWidget()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment