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. In it, you'll learn about Recycler Views, saving data, using multiple activities, integrating fragments, and Android Jetpack. By Brian Moakley.

See course reviews 3.4 (21) · 1 Review

Download materials
Save for later
Share

Learning path

This is part of the Android and 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

  • Incorporate AndroidX into your apps and how to update older apps to use it.
  • Use the navigation and ViewModel components of the Android Jetpack framework.
  • Build dynamic recycler views based on user submitted data.
  • Save and read user data using Shared Preferences.
  • Break your interface into fragments, allowing you to compose new interfaces.
  • Research controls and learn how to use them with Material Design.

Part 1: Create a List

1
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

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

AndroidX 11:56
Toggle description

Learn how to modernize your app by updating the Android Support Library to AndroidX.

Toggle description

This episode breaks down a RecyclerView and shows why you'd use it instead of a ListView.

Toggle description

An adapter is a critical component for the RecyclerView. Here, you'll create one for your RecyclerView and connect it to your adapter.

Toggle description

Challenge time! With your adapter created, you just need to hook it up to the activity.

Toggle description

In this episode, you'll create your view holder and pass it to your RecyclerView.

Bind Data 5:06
Toggle description

Now that you have your RecyclerView set up, learn how to bind data to the view holder.

Conclusion 0:57
Toggle description

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

Part 2: Save Preferences

Toggle description

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

Toggle description

Learn about the floating action button and some of the best practices in using them.

Toggle description

This episode teaches the basics of dialogs and shows how to incorporate them into your app.

Toggle description

Challenge time! This challenge will have you update the RecyclerView from the end user.

Toggle description

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

Your challenge in this episode: create an instance of your ListDataManager to use in your app.

Toggle description

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

Toggle description

When working with apps, it's useful to think in primary and secondary colors. Android Material Design gives you the tools to make this possible.

Conclusion 0:50
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 3: Multiple Activities

Toggle description

Apps come with a lot of different activities - in this part, you'll learn how to pass data between them.

Intents 2:34
Toggle description

This episode will give you an overview of working with intents in Android. Let's dive in!

Toggle description

Intent filters work hand in hand with Intents to provide functionality to your app.

Toggle description

In this episode, master the process of launching a new activity with an intent.

Parcels 5:51
Toggle description

Parcels are another way to pass data, which is useful for packaging objects, and it's all done with an interface.

Toggle description

With all the pieces finally in place, learn how to incorporate them into your app.

Toggle description

You started this course by being shown how to add a Recycler View. Now, your challenge is to add one on your own.

Toggle description

Now that you have a new Recycler View in place, learn to set up its layout.

Toggle description

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

Toggle description

Activities not only present layouts to the user, but they can also provide data to other activities.

Conclusion 0:39
Toggle description

You can now work with multiple activities, but you're only getting warmed up. Keep going to leverage fragments and take your activities to the next level!

Part 4: Work with Fragments

Toggle description

Learn about fragments, which are a great way to compartmentalize your activities for different screen sizes.

Toggle description

To get started with fragments, the first step is to create one! Let's dive in.

Toggle description

This episode shows how to take your new fragment and incorporate it into an activity.

Toggle description

Learn how to use the fragment manager to display your fragment to the end user.

Toggle description

With one fragment in place, your challenge is to create a new one for your list detail activity.

Toggle description

This episode covers the process of creating a fragment by passing data into the arguments.

Conclusion 0:43
Toggle description

Now that you understand fragments, you can use them to simplify your entire app by leveraging Android Jetpack in the upcoming part.

Part 5: Use Jetpack Navigation and ViewModel

Toggle description

In this part, level-up your Android skills by incorporating Android Jetpack in your app.

Toggle description

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

Toggle description

Instead of working with multiple activities, create one activity and compose your screens with fragments.

Toggle description

This episode walks you through the process of converting your task detail activity into fragments.

Toggle description

A ViewModel makes working with data easy, especially when using a single activity architecture.

Toggle description

Learn how to incorporate a navigation graph into your app to visually lay out all your fragments.

Toggle description

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

Conclusion 1:01
Toggle description

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