Google Developers Codelabs предоставляет обучающие материалы и практический опыт программирования. Большинство лабораторий кода проведут вас через процесс создания небольшого приложения или добавления новой функции в существующее приложение. Они охватывают широкий спектр тем, таких как Android Wear, Google Compute Engine, ARCore и API Google для iOS.
Инструменты Codelab на GitHubLearn Android XR Fundamentals: Part 1 - Modes and Spatial Panels
33 минуты
Updated 14 февраля 2025 г.
In this codelab, you’ll learn about the unique user experiences that are made possible by the XR form factor. Then, you’ll learn the fundamentals of how apps can be adapted to make the most of running on an Android XR headset by using the composables provided by the Jetpack Compose XR library.
Build an Android app with Firebase and Jetpack Compose
55 минут
Updated 31 января 2025 г.
Build features of a to-do list Android app by adding authentication, performance monitoring, a declarative UI, and feature flagging – all with Firebase and Jetpack Compose.
Build a Fast Checkout Experience on Android with Google Pay
28 минут
Updated 20 декабря 2024 г.
Google Pay API gives users the opportunity to pay everywhere, using the payment information stored in their Google Accounts. In this lab, you make use of Google Pay's client library for Android to improve the checkout experience of a simplified
Jetpack Compose Navigation
1 час 39 минут
Updated 10 декабря 2024 г.
In this codelab, you’ll learn all about the basics of Navigation in Compose.
Basic layouts in Compose
54 минуты
Updated 9 декабря 2024 г.
In this codelab, you’ll learn how to implement real-world designs with the composables and modifiers that Compose provides out of the box.
Drag and Drop in Compose
35 минут
Updated 30 октября 2024 г.
Learn to enable drag and drop in compose using modifiers.
Introduction to Compose for TV
1 час 21 минута
Updated 15 октября 2024 г.
Learn the basics of Compose for TV and create two screens that are commonly available in TV apps.
Compose for Wear OS Codelab
57 минут
Updated 8 октября 2024 г.
In this codelab, you’ll learn how to translate your Compose knowledge to wearables with the new Compose for Wear OS. By the end, you’ll have created both simple and advanced composables in an app for your wrist.
Accessibility in Jetpack Compose
39 минут
Updated 24 сентября 2024 г.
In this codelab, you’ll learn how to make your Compose app more accessible. See how to increase touch targets, add content descriptions, click labels, custom actions, and more.
Migrating to Jetpack Compose
51 минута
Updated 24 сентября 2024 г.
In this codelab, you’ll learn how to migrate parts of a screen in the View system to Jetpack Compose.
Add a map to your Android app (Kotlin with Compose)
Updated 18 сентября 2024 г.
This codelab teaches you how to integrate Maps SDK for Android with your app and use its core features by building an app that displays a map of mountains in Colorado, USA, using various types of markers. Additionally, you'll learn to draw other
Build adaptive apps with Jetpack Compose
36 минут
Updated 5 сентября 2024 г.
In this codelab you’ll learn how to build adaptive apps for phones, tablets, and foldables, also learning about reachability. You’ll also learn best practices for Material 3 adaptive components.
Add keyboard, mouse, trackpad, and stylus support with Jetpack Compose
1 час 9 минут
Updated 26 июля 2024 г.
Learn how to develop your apps to support keyboard and pointing devices, such as mouse and trackpad, with Compose.
Add Compose to a View-based app
Updated 28 июня 2024 г.
In this codelab, you learn how to migrate parts of a screen in the View system to Jetpack Compose.
Build an app with an adaptive layout
Updated 28 июня 2024 г.
Learn how to adapt your app for large screens by implementing one of the canonical layout patterns.
Build a simple app with text composables
Updated 18 июня 2024 г.
Learn how to build a simple app with composable functions.
Write unit tests for ViewModel
Updated 18 июня 2024 г.
Learn how to test the ViewModel to verify the correctness, functional behavior, and usability of your app.
Background Work with WorkManager
Updated 4 июня 2024 г.
The WorkManager API for Android makes working in the background simple. WorkManager can create tasks that are queryable, reusable, and chainable. WorkManager is the recommended task scheduler on Android. This codelab will teach you the ins and outs of WorkManager: everything from writing a simple job to more complex chained jobs.
Build an adaptive app with dynamic navigation
Updated 31 мая 2024 г.
Learn how to adapt your app for large screens with adaptive navigation ui patterns.
Introduction to Coroutines in Android Studio
Updated 22 мая 2024 г.
Learn to use Kotlin coroutines inside an Android app and how to test coroutines.
Persist data with Room
Updated 17 мая 2024 г.
Learn how to use Room in your Android Kotlin apps. Room is a persistence database library that’s part of Android Jetpack. Room is an abstraction layer over SQLite. Room provides convenient APIs to set up, configure, and query the database.
Read and update data with Room
Updated 17 мая 2024 г.
Learn how to use Room to read and update data in your Android Kotlin apps. Room is a database library that’s part of Android Jetpack. Room takes care of many of the chores of setting up and configuring a database, and makes it possible for your app to interact with the database using ordinary function calls.
Practical performance problem solving in Jetpack Compose
50 минут
Updated 13 мая 2024 г.
Make your Compose app run fast by analyzing system traces and fixing common lag causes.
Get data from the internet
Updated 10 мая 2024 г.
Learn how to use community-developed libraries to connect to a web service to retrieve and display data in your Android Kotlin compose app. Also learn how to handle potential network errors.
Add repository and Manual DI
Updated 10 мая 2024 г.
Learn how to further improve the architecture of the Mars Photos app by separating the network calls into a repository.
Test the Cupcake App
Updated 8 мая 2024 г.
Learn how to test the Navigation component and maximize the amount of code that is tested.
Add adaptive layouts to a view-based Android app with Compose
1 час 1 минута
Updated 7 мая 2024 г.
Learn how to add adaptive layouts to a view-based Android app with Jetpack Compose.
Navigate between screens with Compose
Updated 7 мая 2024 г.
Add the Navigation component to the Cupcake app to organize the flow of the app, navigate and pass data between different screens.
Simple Animation with Jetpack Compose
Updated 7 мая 2024 г.
Learn how to add a simple spring animation to your Compose app.
Stages of the Activity lifecycle
Updated 27 апреля 2024 г.
In this codelab, you learn about the activity lifecycle and logging.
Intro to state in Compose
Updated 26 апреля 2024 г.
Learn about state, and how it can be used and manipulated by Jetpack Compose.
Material Theming with Jetpack Compose
Updated 26 апреля 2024 г.
Learn how to add Material Theming to an app, including color, shape, and typography.
Build a complete app with Relay and Jetpack Compose
42 минуты
Updated 6 февраля 2024 г.
Learn how to integrate Relay into Compose apps and accelerate your design-to-code workflow.
Load and display images from the internet
Updated 1 февраля 2024 г.
In this codelab, you use the Coil library to load and display photos from the internet in your Android Compose app.
Jetpack Compose basics
1 час 5 минут
Updated 18 января 2024 г.
In this codelab, you’ll learn the basics of Compose.
Introduction to Coroutines in Kotlin Playground
Updated 16 января 2024 г.
Within Kotlin Playground, learn to use Kotlin coroutines to write asynchronous code.
Theming in Compose with Material 3
31 минута
Updated 3 января 2024 г.
The purpose of this codelab is to demonstrate theming in Jetpack Compose with new Material Design 3 and Material You implementation.
Advanced State and Side Effects in Jetpack Compose
41 минута
Updated 22 декабря 2023 г.
In this codelab, you’ll learn advanced concepts of state and side effects in Jetpack Compose. See how to create a state holder for complex stateful composables, how to create coroutines and call suspend functions from Compose code, and how to trigger side effects to accomplish different use cases.
Android App Resizing
Updated 14 декабря 2023 г.
In this Jetpack Compose-based codelab, you’ll optimize an Android app to demonstrate best practices for free-form resizing. This includes using manifest compatibility, configuration change implications, and maintaining continuity through resizing.
State in Jetpack Compose
50 минут
Updated 23 ноября 2023 г.
In this codelab you’ll learn about how to build rich, interactive, Compose applications by managing state.
Animating elements in Jetpack Compose
20 минут
Updated 23 ноября 2023 г.
In this codelab, you’ll learn how to use some Compose Animation APIs.
Testing in Jetpack Compose
38 минут
Updated 21 ноября 2023 г.
In this codelab you’ll learn about testing UIs created with Jetpack Compose. You will write your first tests while learning about testing in isolation, debugging tests, semantics trees and synchronization.
Generics, objects, and extensions
Updated 21 сентября 2023 г.
Gain a high-level introduction to more Kotlin concepts such as generics, enum classes, data classes, objects, and scope functions which you’ll be using in your Compose code.
Project: Create a Business Card app
Updated 21 сентября 2023 г.
Learn how to create an Android app that showcases your business card.
ViewModel and State in Compose
Updated 21 сентября 2023 г.
In this codelab, you learn how to use a ViewModel, one of the architecture components. You will implement a ViewModel to retain the app state during configuration changes.
Practice: Compose Basics
Updated 21 сентября 2023 г.
Apply the concepts of basic UI composables to implement screens for the given problems.
Theming in Compose with Material 3
31 минута
Updated 3 мая 2023 г.
The purpose of this codelab is to demonstrate theming in Jetpack Compose with new Material Design 3 and Material You implementation.