Create Android Apps with Kotlin – Coding the Functionality

Finally comes, what I would consider, the fun part of creating Apps: Coding the logic. But obviously, we want to be able to access the individual elements on our page within our code. To do so, let’s change the ID of our components inside of the text view of activity_main.xml:     Make sure to choose descriptive, meaningful names. Now, we are good to go. Change back to your MainAcitivity.kt file. We start everything inside of the onCreate method. As soon as the user clicks on the button, we want to make a calculation. To detect clicks, we’ll add an Read More


Create Android Apps with Kotlin – Basics of Layout

The most important part of any app is the layout. Because, what do we do without it? Our code won’t do anything if we don’t allow the user to call it. Let’s learn the basics of it by building a small application. We want to create an application that calculates how long we’ll have to keep working in our job to achieve a certain amount of money, keeping in mind the increase in salary every month. So, first things first, change the Layout of your application to a LinearLayout by changing the standard layout of your activity_main.xml and add the Read More


Create Android Apps with Kotlin – Structure

I assume you have Android Studio already installed. If not, head over to the official android website, download it and follow the procedure. As soon as you create a new project, set the name of it and click next. You can skip the next window and click on Finish. If you have never seen Android Studio before, it will look intimidating. But before we start, let’s actually enable Kotlin support! Go to File -> Settings and now click on Install Jetbrains plugin…     In the search which will appear on the top, search for Kotlin and click install. Now, Read More


Create Android Apps with Kotlin – Introduction

Recently, Google announced Kotlin to be fully supported for Android Development. This is good news for us Android Developers! A modern alternative to Java with awesome, new features added to our developer bundle. On the other hand this means, that we somehow need to shift our focus to using Kotlin inside of Android Studio. Companies like Uber are already integrating it into their workflow, which is a hint that Kotlin will be big for sure.   And let’s be honest, most of us want something fresh, don’t we?   In the following few parts of this series, I will go Read More


ˆ Back To Top