Building Modern Responsive Widgets
summary
Builds a popular movies home-screen widget that fetches the week’s popular films from a movie database API, renders a scrolling list with box art and overview, and resizes behaviorally using Jetpack Glance. Implementation uses Hilt for data, a lazy column, exact size mode (one of three modes), and a 200 dp breakpoint to switch large vs small card layouts (200 dp). Includes error fallback UI ("Can't show content"), preview in Android Studio Canary, pinning via requestPinAppWidget, and optional 24‑hour refresh with WorkManager.
AI-written summary · about
chapters (14)
- 0:00Modern responsive widgets
- 1:04Widgets and Jetpack Glance
- 2:29Popular movies widget demo
- 3:53Glance app widget class
- 5:58Widget receiver and manifest
- 7:42Widget size and metadata
- 8:26Responsive UI with Glance
- 9:50Widget interactions and actions
- 10:54Previewing in Android Studio
- 11:57Improving widget discoverability
- 13:59Wear OS tiles with Glance
- 15:47Key takeaways
- 17:32Testing Glance features
- 18:13Q&A
related talks
41mData-backed app widget development — with Jetpack Glance
09mBuilding modern Android app widgets
39mAndroid widgets and Jetpack Compose: Making your app fancy
21mState of the art of Android widgets
24mShooting a “Glance” at App Widgets
37mShooting a “Glance” at App Widgets and Wear Tiles
36mPimp my Widget
40mOptimize your app for large screens
