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
"
"I truly love this newsletter ❤️‍🔥 Spot on content and I know there's a lot of effort that goes behind it. Great work!"
theapache64
Staff Software Engineer @ Disney+ Hotstar
Join thousands of Android devs who look forward to Dispatch every week