Remote Widget

by Ahmed Samir

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

View on GitHub

Documentation

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

Dispatch Newsletter
Be the first to discover new Compose libraries
Curated Insights
Digest in 5 minutes or less
Android Analysis
Entertaining takes on happenings
Insider Tips
From top Android developers
Hidden Gems
You won't find elsewhere
"
"Dispatch is truly a newsletter, not just a digest of links. Vinay adds a delightful touch of humor and personality to a thoughtful analysis of the Android happenings of the month. I always learn something just by skimming it that makes me want to bookmark the issue now and dig deeper later."
— Zach Klippenstein
ex-Jetpack Compose Team @ Google, Square, Amazon
Join thousands of Android devs who look forward to Dispatch every week