Astroa7m / RemoteWidget

Schedule image downloading/displaying in Glance widget with WorkManager API
15 stars 2 forks source link
android glance-appwidget jetpack-compose workmanager-kotlin

RemoteWidget

Schedule image downloading/displaying in Glance widget with WorkManager API.

Every 15 minutes a new image is downloaded from the api and placed in the app widget. I wrote an article about it in Medium.

Make sure you first grab an API key from UnSplash API and then place it in your local.properties file like so

CLIENT_ID = "your_api_key"

Choosing category and start scheduling

After 15 mins