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

Programming in Kotlin

Mar 20 2018 · Beginner · Video Course · 4 hrs, 2 mins

Take a deep dive into the Kotlin language, learning about core Kotlin concepts like types, Nullables, functions, classes, and more.

Version

  • Kotlin 1.2, IntelliJ IDEA 2017.3

Core Concepts

Introduction

3:30 Free

Let's review what you'll be learning in this section, and why it's important.

1

Install IntelliJ IDEA, then take a tour of the IDE and create the starter project you'll throughout this course.

2

Review some of the core concepts of Kotlin that were covered in Your First Kotlin Android App course.

3

Comments

1:35

Learn the various ways to add comments to your Kotlin code - a useful way to document your work or add notes for future reference.

4

Pair and Triple

4:10 Free

Learn about two Kotlin classes, Pair and Triple, and get tips about when you should use each of them.

5

In this video, practice using the Pair and Triple classes on your own through a hands-on challenge.

6

Booleans

5:47

Review the Kotlin Boolean type and try it out for yourself.

7

Practice using Booleans on your own, through a hands-on challenge.

8

Scope

2:46 Free

Learn what the concept of scope means in Kotlin, and how it applies to if statements.

9

Conclusion

1:10

Let's review where you are with your Kotlin core concepts, and discuss what's next.

10

Flow Control

Let's review what you'll be learning in this section, and why it's important.

11

Learn how to make Kotlin repeat your code multiple times with while loops, repeat while loops, and break statements.

12

Practice using while loops on your own, through a hands-on challenge.

13

For Loops

5:23

Learn how to use for loops in Kotlin, along with ranges, continue, and labeled statements.

14

Practice using for loops on your own, through a hands-on challenge.

15

When Expressions

4:03 Free

Learn how to use when expressions in Kotlin, including some of its more powerful features.

16

Practice using when expressions on your own, through a hands-on challenge.

17

Conclusion

0:51

Let's review what you learned in this section, and discuss what's next.

18

Functions and Nullables

Let's review what you'll be learning in this section, and why it's important.

19

Write your own functions in Kotlin, and see for yourself how Kotlin makes them easy to use.

20

Practice writing functions on your own, through a hands-on challenge.

21

More Functions: Learn some more advanced features of functions, such as overloading, and functions as variables.

22

Learn about one of the most important aspects of Kotlin development - nullables - through a fun analogy.

23

Practice using Nullables on your own, through a hands-on challenge.

24

Learn how to unwrap Nullables, force unwrap Nullables, and use the let statement.

25

Practice working with Nullables on your own, through a hands-on challenge.

26

Conclusion

0:55

Let's review where you are with your Kotlin core concepts, and discuss what's next.

27

Collections

Let's review what you'll be learning in this section, and why it's important.

28

Arrays

10:22

Learn how to use arrays in Kotlin to store an ordered list of values.

29

Practice using arrays on your own, through a hands-on challenge.

30

Lists

4:17

Learn how to use Lists in Kotlin to store an ordered collection of data.

31

Practice using Lists on your own, through a hands-on challenge.

32

Maps

4:45

Learn how to use Maps in Kotlin to store a mapped collection of data.

33

Practice using Maps on your own, through a hands-on challenge.

34

Find out which collection you should use in a given situation.

35

Learn the difference between the two types of collections.

36

Conclusion

0:36

Let's review what you learned in this section, and discuss what's next.

37

Lambdas

Let's review what you'll be learning in this section, and why it's important.

38

Learn the difference between lambdas and higher-order functions.

39

Syntax

2:26

Learn about the syntax needed to write lambdas.

40

Practice using Lambdas through a hands-on challenge.

41

Generics

4:13

Find out what generics are in regards to collections.

42

Practice creating Generics on your own, through a hands-on challenge.

43

Learn how to use lambdas with collection methods.

44

Conclusion

0:51

Let's review what you learned in this section, and discuss what's next.

45

Classes

Let's review what you'll be learning in the Classes section, and why it's important.

46

Creation

3:47

Create classes using both primary and secondary constructors.

47

Initializers

2:31 Free

Learn how the init method is used in Kotlin.

48

Practice creating classes and understanding when to use them through a hands-on challenge.

49

Inheritance

15:45

Learn about the concepts of inheritance, polymorphism, hierarchy checks, overrides, and super.

50

Learn when you should subclass, and when you shouldn't.

51

Find out what data classes are and how to use them.

52

Practice creating your own data classes through a hands-on challenge.

53

Conclusion

0:49

Let's review where you're at with your Kotlin core concepts, and discuss what's next.

54

More on Classes

Let's review what you'll be learning in this section, and why it's important.

55

Learn to subclass a class and what the sealed keyword means.

56

Singletons

1:58 Free

Learn how to create static classes.

57

Practice working with creating singleton classes and understanding when to use them, through a hands-on challenge.

58

Companion

2:58

Create static properties of classes using the companion keyword.

59

Interfaces

3:37

What's the purpose of an interface? Find out in this video!

60

Practice creating your own interface, through a hands-on challenge.

61

Enums

4:22

Learn what an enum is and how to use it.

62

Practice creating your own enums through a hands-on challenge.

63

Extension

3:36

Learn how to use Extensions to add abilities to existing classes.

64

Conclusion

0:33

Let's review where you're at with your Kotlin core concepts, and discuss what's next.

65

Properties and Methods

Let's review what you'll be learning in the Properties and Methods section, and why it's important.

66

Learn about getters and setters, and why you don’t need to create them in most cases.

67

Visibility

2:54

Discover the different method visibility modifiers and how they affect methods.

68

This

3:34

Find out what "this" is and how to use it.

69

LateInit

1:47

Find out how to initialize a property later.

70

Practice using LateInit in this hands-on challenge.

71

Learn how delegated properties work.

72

Challenge time! Practice using properties through a hands-on challenge.

73

Conclusion

1:55

Congratulations, you made it through the whole course! Let's review what we've learned.

74

Contributors

Comments