Google is committed to advancing racial equity for Black communities. See how.

Android 11—Week 6—Jetpack

Android Jetpack is a suite of libraries created to help you write high-quality apps that follow best practices, use less boilerplate code, and work consistently across Android versions and devices. This pathway introduces you to new libraries introduced in Android 11, along with major updates.

 

Jetpack suite for Android Development

Video Optional

Welcome to Android 11—Week 6—Jetpack! Watch this introductory teaser to prepare for the activities in this pathway.

Dependency injection on Android with Hilt

Article Optional

Hilt is a new Android library that simplifies dependency injection (DI) in your app, allowing you to focus on just the important parts of defining and injecting bindings without worrying about managing all of the DI setup and wiring. Read this article to learn more about DI principles and how to enable Hilt in your app.

Use Hilt in your Android App

Codelab

In this codelab, you learn how to use Hilt as the dependency injection (DI) tool to manage dependencies, and the importance of DI to create a solid and extensible app that scales to large projects.

Getting on the same page with Paging 3

Article Optional

The Paging library has gone through a complete upgrade. Read this article to learn more about the highlights and features of Paging 3, as well as how to adopt it in your apps.

Paging with Paging 3

Video Optional

Paging 3 is a complete rewrite of the Paging 2 library, offering better error handling, support for common features, and more. Watch this video to learn about the updates and changes introduced in Paging 3.

Android Paging

Codelab

In this codelab, you learn what the main components of the Paging 3 library are, and how to add Paging into your Android app so it can load and display pages of data from a larger dataset from local storage or over network.

Getting to know CameraX beta

Video Optional

CameraX is a Jetpack library designed to help you develop camera apps easier, with support for older Android devices built in. Watch this video to see the updates in the new beta release, including fixes for device-related issues.

Get started with CameraX

Codelab

In this codelab, you learn about the Jetpack support library CameraX, it’s different use cases, and how to add the CameraX dependencies to a camera app.

Take the Jetpack quiz to earn a badge.

Take a quiz on what you learned about the Jetpack library updates in Android 11 and earn your Jetpack badge.