Category "glance-appwidget"

Why is onReceive called multiple times?

I am running a worker in a glance composable on android. why is onReceive being continuously called in an infinite loop? What am I missing here? class MyWidget

Android widget OnReceive() being called multiple times when running WorkManager request

I have an app which has a home screen widget via GlanceAppWidget(). I would like to run a worker inside the Content() function of GlanceAppWidget(). I have used

How to use WorkManager with Glance composable?

In the the below medium article written by a Google Android Engineer, it states that the best way to fetch data in a glance widget is to use WorkManager. The be

How to make live update of glance widget?

Is that possible to make live update the data of Widget using Glance jetpack compose ? Like update data while database is changes . For example while I am using

Is there a way to add linecharts to a GlanceAppWidget?

Pretty much the title, im trying to make a widget that contains some data and linecharts, i know this glance stuff is pretty new, so im not sure if its possible

How to identify multiple instances of Glance App Widget

I am trying to create a widget which shows information about a hardware device. There can be multiple of these devices and user will be able to add same widget