Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Kotlin for Java Developers Course (How To)

via Treehouse

Overview

Kotlin was recently announced as a new official Android language! It runs on the JVM and can be used to develop Android apps. You can even interweave Kotlin and Java in the same app, and it brings new features for better safety, readability, and tooling!

Start your free trial today to get access to all of the great Android content on Treehouse!

What you'll learn

  • Kotlin basics
  • Kotlin in an Android app

Syllabus

Hello Kotlin!

Kotlin is a new and exciting language that runs right on the JVM! In this stage, we'll start learning the basics of Kotlin, and we'll also look at how we're going to make a solitaire app entirely in Kotlin!

Chevron 15 steps
  • Introducing Kotlin and the Project

    1:17

  • Creating the Project

    4:22

  • The Main Function

    3 questions

  • Creating the Card Class

    3:19

  • Ch-ch-ch-changes!

    3 questions

  • The Card Class: Kollector's Edition

    6:36

  • Kard Klass

    5 questions

  • Finishing the Card Class

    4:08

  • Card Constructors

    5 questions

  • Making the Deck

    3:23

  • Stacking the Deck

    3:56

  • Deck Functions

    3 questions

  • Compacting the Deck

    4:32

  • Using the Deck

    3:52

  • Deck Masters

    5 questions

Modelling Solitaire

In this stage we'll create all the objects we need to model a game of solitaire!

Chevron 10 steps
  • The Big Picture

    4:23

  • Building the Foundation

    6:09

  • The Surface Is Fine and Powdery

    5:23

  • I Can Pick It Up Loosely With My Toe

    3 questions

  • Creating the Tableau

    5:20

  • Checking Suits

    4:00

  • Removing Cards

    5:25

  • Testing the Tableau: Adding Cards

    3:39

  • Testing the Tableau: Removing Cards

    5:37

  • Finishing the Pieces

    3 questions

Putting It All Together

In this stage we'll add all the functionality we'll need, and tie together our model, view, and presenter!

Chevron 9 steps
  • Let the Games Begin

    5:47

  • Finishing the Reset

    3:24

  • Handling User Interactions

    3:06

  • Playing Cards

    4:40

  • Playing Kards

    3 questions

  • Tapping the Tableau

    5:10

  • Presenting the Presenter

    3:23

  • Finishing the Presenter

    5:25

  • Nullability

    5 questions

Is This Thing On?

In this stage we finally test our game to make sure it's working!

Chevron 6 steps
  • Seeing Clearly

    4:03

  • Well Suited

    4:10

  • Planning to Print

    2:53

  • Shining, Shimmering, Splendid

    6:21

  • It's Alive!

    6:33

  • Game Over

    5 questions

Reviews

Start your review of Kotlin for Java Developers Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.