Migrating to Jetpack Compose

This folder contains the source code for the Migrating to Jetpack Compose codelab.

The codelab which migrates parts of Sunflower‘s Plant details screen to Jetpack Compose is built in multiple GitHub branches:

  • main is the codelab’s starting point.
  • end contains the solution to this codelab.


Getting Started

  1. Install the latest Android Studio canary.
  2. Download the sample.
  3. Import the sample into Android Studio.
  4. Build and run the sample.


List of plants Plant details My Garden


Copyright (C) 2020 The Android Open Source Project

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements.  See the NOTICE file distributed with this work for
additional information regarding copyright ownership.  The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License.  You may obtain a copy of
the License at


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
License for the specific language governing permissions and limitations under
the License.


View Github