I have a question about Glance widgets. Google rec...
# android
p
I have a question about Glance widgets. Google recommends to use CoroutineWorker to update our new Glance widgets, I suposse that using a periodic work started in Application when the app is started for the first time, for example, because now, widgets doesn't have onEnabled() method, that in oldschool widgets was used to start periodic threads for updating them. So I see a problem here. If the user has not placed any widget on the desktop, why should we have to start a periodic worker constantly updating? Do google offers a solution for this? I don't find it. EDIT: moved to #C032SRZRD7Z channel
not kotlin but kotlin colored 2