
- Android
- Intermediate
About this Course
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
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!
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!
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!
9 stepsTeacher
-
Ben Deitch
Ben is an Android teacher with a long history of creating and tinkering with Android apps. He's an avid learner, loves playing sports, and is a fairly average chef.