Building a Widget using Jetpack Glance in Android

Jetpack Glance is the new shiny library in the Jetpack family for creating widgets. At first glance, it resembles a Jetpack Compose, but in many cases, it is really different. Learn those differences and create beautiful widgets easily.

Course Objectives

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

Meet the instructor

Piotr Prus

Content Author & Course Instructor

More courses by the instructor

\Learnworlds\Codeneurons\Pages\ZoneRenderers\CourseCards