From the course: Android Compose with Kotlin

Check out the exercise files on GitHub - Kotlin Tutorial

From the course: Android Compose with Kotlin

Check out the exercise files on GitHub

- [Instructor] The exercise files for this course are stored on GitHub. There are branches for each videos start and end states where we work on code. You can view a list of all branches here in GitHub from the branch dropdown menu. For example, if you wanted to find the start state for video 0602, add a lazy grid to a composable screen, then you would go to the 0602B branch, and the ending state would be the 0602E branch. There are multiple ways to work with this project in Android Studio. A straightforward method is to copy the URL from here under Clone, then go to Android Studio Welcome screen, and check it out. Let's move over there now. You may receive a few dialogues when you first load the app. Don't worry about it, just wait for the project to sync. It typically takes longer when the project loads for the first time. By default, we're running code from the main branch. As I mentioned, I've created branches for each video in the course where we modify code. If you'd like to follow along, use the branches popup menu to change to your desired branch. For example, let's check out the code for the start of the 0602 video. So I can come here and I'll look for 0602, and then I choose B, Check out. Store your branch locally using the same name, and then when you run the app, you'll see that version of the project, not the latest version that's on the main branch. To help you get the most out of this course, we'll be working on a sample app for a fictitious software conference. The view-based implementation is available here under com.example, red30, viewBased. In each subsequent chapter, we'll work together to recreate the same UI using Compose. This way you'll be able to grasp better how the two approaches differ. Let's get started.

Contents