This is part of the "Android and Kotlin for Beginners" learning path. View Path

Your Second Kotlin Android App

Mar 21 2018 · Beginner · Video Course · 2 hrs, 37 mins

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 design materials.

Version

  • Kotlin 1.2, Android 4.4+, Studio 3.0.1

Getting Started

Introduction

1:30 Free

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

1

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

2

When creating a lists, a good tool to use is RecyclerView. This video will get you started.

3

Having a RecyclerView isn't enough. You also need an adapter. Learn about adapters in this video.

4

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

5

The adapter managers the data. The view holder handles the view. This video gives you an overview of the process.

6

With your RecyclerView in place, the only thing left to do is present the data which just happens to be your challenge.

7

Conclusion

0:41

With your list setup, you're just getting started. This video points you towards your next steps.

8

Saving Data

Creating lists isn't enough. You'll ultimately need to save that data which is what this part covers.

9

To add items, you'll need to create a dialog and thankfully, Android has a ton of them.

10

Shared Preferences

7:35 Free

Shared Preferences is a way that we save data. This video covers the basics of using it.

11

You've created a ListManager class. You're challenge is to create an instance of it.

12

Now that we have our shared preferences in place, it's now time to hook them up with the main activity.

13

Conclusion

0:43

With your data being saved, all you need to do is pass data between activities which is the topic of the next part.

14

Communicating Between Activities

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

15

Before you can pass data between activities, you'll need to add a new activity.

16

Intents

4:27

Intents are a fundamental part of working with Android.

17

Parcels

4:52

Parcels are another way to pass data which is useful for packaging objects.

18

With your preferences in place, all you need to do is integrate it with the rest of the app.

19

You started this series by being shown how to add a RecyclerView. Now, your challenge is to add one on your own.

20

Now that you have a new Recycler View in place, you'll now need to setup the layout for it which you'll do in this video.

21

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

22

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

23

Conclusion

0:41

This video concludes the part of working with multiple activities, but you're only getting warmed up. In the next part, you'll leverage fragments to take your activities to the next level.

24

Working with Fragments

In this part, you'll learn about Fragments which is a great way to compartmentalize your activities for different screen sizes.

25

To get started with fragments, you'll need to create one. This video will walk you through the process.

26

This video will show you the process of replacing activity code with a fragment instead.

27

A great way to test your new layout is to create a new virtual device which is your challenge.

28

Now that you have the fragments created, all you need to do is to display them to the end user.

29

Now that you have one fragment in place, you need another one. Your challenge is to create a new one for your list detail activity.

30

With your new fragment ready to go, you'll need to use it to handle all layout for the list detail activity.

31

With your activities converted to fragments, all it takes is a little bit of code and you'll be able to create a simple tablet layout.

32

The tablet layout is all set to go, but there are errors that need to be resolved. This video shows you how to fix them.

33

Conclusion

0:37

At last, you have a working app. It's functional, but it's very spartan. This video will introduce you why the next section is important.

34

Android Material Design

Your app may be functional, but it doesn't look very good. This video introduces you to Android Material Design and why that's important.

35

Android Material is a site that helps you design your app to be both visual appealing but also consistent with other apps.

36

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.

37

Card Views

5:38

Cards are a visual tool to make your app pop. This video shows how to integrate card views in your app.

38

Conclusion

1:24

This video concludes the entire series, but it gives you direction on where you should go next.

39

Contributors

Comments