Building a Widget using Jetpack Glance in Android
What app will you build in this course?
Weather Glance Widget is a lightweight app that allows users to quickly access current weather information from their home screen widget without needing to open the full app. This app uses the Jetpack Glance library to help you create a Compose-like widget UI and a new Widget Receiver for seamless state updates.
In this master codelab, you’ll explore:
Adding widget to the Android App
Create widget UI using Jetpack Glance
React on state updates from the application
Trigger the widget update from different sources
Handle user actions on widget elements
Opening the app from the widget context
Configure the widget data using configuration activity
More courses by the instructor