Your Second Kotlin Android App

In this course, you’ll level up your Android skills by writing a task list managing app entirely in Kotlin and Jetpack Compose. In it, you’ll learn about Composables, LazyLayouts saving data, integrating navigation components in Compose, and Android Jetpack. By Subhrajyoti Sen.

3 (1) · 1 Review

Download materials
Save for later
Comments
Share

Learning path

This is part of the Android & Kotlin for Beginners learning path. View path.

Who is this for?

This course is designed for people who have just started learning Kotlin and Android.

This course isn’t suited for advanced developers. If that’s you, check out our intermediate or advanced video courses for more ways to level-up your developer skills!

Covered concepts

  • Learn about Compose, AndroidX and Material Design 3 and how to use them in your app.
  • Use the Jetpack Compose Navigation and ViewModel components of the Android Jetpack libraries.
  • Build dynamic LazyLayouts based on user-submitted data.
  • Save and read user data using Shared Preferences.
  • Break your interface into screens, allowing you to compose new interfaces.

Part 1: Create Your App & Learn Jetpack Compose

01
Toggle description

A journey of a thousand android apps begins with the creation of your second one. Learn about the course objectives and what you will build.

Toggle description

This episode will get you started on making your second app as well as explain some of the project creation features.

Toggle description

You’ve created your app in Compose, time to dive into some basics in Jetpack Compose!

Toggle description

Being successful in Android Studio means knowing how to customize it to your workflow. Let’s dive in!

Toggle description

Learn about AndroidX, its features and how it is used in a project.

Toggle description

Learn how to use the amazing features that come with the new Material Design 3 to create better-looking apps with a more personal feel.

Challenge time! From the files generated by Material Theme Builder Tool, add the theming to your app.

Conclusion 0:49
Toggle description

You have learnt all the basics, in the next part, you’ll learn how to create beautiful UIs with Jetpack Compose.

Part 2: Create Your Views

Toggle description

Review what you’ll be learning in this part of the course, and why it’s important.

Toggle description

Learn about the different compose layouts and components like Row, Column, FloatingActionButtons, Text, and Surface.

Toggle description

In this episode, you’ll use some of the common layouts in compose to create the view for your list.

Toggle description

In this episode, you’ll build for TopBar and FloatingActionButton UI components that will be shared across your app.

Toggle description

In this episode, you’ll use a LazyLayout to display a list of your todo items.

Toggle description

With your UI components created, time to hook them up to the Scaffold.

Toggle description

Challenge time! Create a view that will be displayed when the list is empty.

Conclusion 0:55
Toggle description

With your components set up, you’re just getting started. Find out what the next steps are.

Part 3: Save Preferences

Toggle description

Review what you’ll be learning in this part of the course, and why it’s important.

Toggle description

Shared Preferences are the primary means by which you’ll save data. In this episode, learn to read and write data.

Toggle description

A ViewModel makes working with data easy, you’ll use a ViewModel to insert and read items from SharedPreferences.

You’ve created your ViewModel, your challenge in this episode is to create an instance of your ViewModel in the TaskListScreen.

Learn how to save your task lists in shared preferences and read them back again.

Conclusion 0:39
Toggle description

With your data being saved, all that’s left is to pass data between activities. Find out how in the next part.

Part 4: Use Jetpack Navigation

Toggle description

In this part, level up your Android skills by learning what Jetpack Libraries are.

Toggle description

This episode covers the basics of Jetpack Libraries and provides an overview of the technologies available.

Toggle description

Learn Single Activity Architecture, and how you’ll use your activity for navigation and showing all your screens.

Toggle description

Learn the basics of Jetpack Compose Navigation Library and add the dependency in your app.

Toggle description

Learn how to create a NavHost for your navigation graph.

You have the TaskListScreen ready and wired up to your MainActivity. Similarly, create the TaskDetailsScreenContent composable.

Now that you have your components in place, learn to set it up to TaskDetailsScreen.

Toggle description

Learn how to navigate to a destination which is a compose screen, in this case, the TaskDetailsScreen that you’ve created.

Toggle description

Safe Args is another great feature of Android Jetpack to allow fragments to pass data to one another.

Toggle description

With the TaskDetailsScreen set up, the next task is to add items to it by way of a floating action button.

Conclusion 0:46
Toggle description

Congrats on completing the course, and on building your second app! Find out where to go next.

Up next

Android & Kotlin
Programming in Kotlin: Functions & Custom Types
Take a deeper look at the Kotlin programming language! Explore the intricacies of functions, lambdas, classes, objects, interfaces, and more.

Instructors

Contributors

Harun Wangereka

Materials Author

Adriana Kutenko

Illustrator

Emmanuel Okiche 🇳🇬

Final Pass Editor

Over 300 content creators. Join our team.