Nice to meet Kotlin!
Yesterday (April 22nd) it was the first time in my life that I did something with Kotlin.
And I think it was such a great opportunity to doing in the one-day face-to-face course of Antonio Leiva. He is one of the guys who know the most about Kotlin here in Spain and probably worldwide.
Nine hours that worth it. Many people think Kotlin will be the next programming language to develop Android apps.
Indeed you can have any app with Kotlin instead of Java.
Anyway, I’m not going to have that kind of discussion. I’m going to tell you what we learned. Before starting, let me insist on that I haven’t written any line of code of Kotlin before. I’d just read a few posts.
So, here it is what I learned:
- What is Kotlin
- Create the project in Android Studio
- Basic elements: Variables
- Basic elements: Functions
- Basic elements: String template
- Reified functions
- Flow control
- Kotlin Android Extensions
- Ninja functions
The main goal of the lesson was to build an Android app from the scratch. And here it is what I did.
p.s.: I used git flow as a tool: each branch is a module of the course.