Custom Views in Android with Kotlin

Custom Views in Android with Kotlin

When we saw the article about classes, you may remember that in general only one constructor is used. This is a problem for creating custom views. The Android framework expects to have several constructors available based on where and how the view is being created (by code, using XML, if a theme is set…), so …

Read More Read More

Kotlin integrations with Android SDK

Kotlin integrations with Android SDK

I mean, not even classes written in Kotlin become cleaner and easier to write, read and understand. But also code in Java becomes nicer when use from Kotlin. There are a set of convenient conversions that will make that code from Java looks more like Kotlin. In this new lesson, I talk about some of …

Read More Read More

Kotlin Android Extensions

Kotlin Android Extensions

Hi there, how’s your learning going? In last episode we talked about classes. Now I want to show something quite different, but really awesome. You’re probably tired of working with findViewById in your day-to-day life to recover Android views. Or maybe you gave up and started using the famous Butterknife library. Then you’ll love Kotlin Android Extensions. …

Read More Read More

Classes in Kotlin

Classes in Kotlin

Hi guys, many of you are now realizing that it is easy to create Kotlin Projects, and run them. In this tutorial series, we will be learning deep and deeper on tips, tricks and best programming tricks using Kotlin. Make sure you subscribe to get article notifications straight and instantly. Classes in Kotlin Classes in …

Read More Read More

Variables in Kotlin

Variables in Kotlin

Hi guys, welcome to our second Kotlin tutorial. In case you missed the first introductory part, please go through it first. In this second chapter we will see how variables work in Kotlin, what is val and var , and when to use one or the other. I wanted to start from here, because it will …

Read More Read More