Book Image

Kotlin Programming By Example

By : Iyanu Adelekan
Book Image

Kotlin Programming By Example

By: Iyanu Adelekan

Overview of this book

Kotlin greatly reduces the verbosity of source code. With Google having announced their support for Kotlin as a first-class language for writing Android apps, now's the time learn how to create apps from scratch with Kotlin Kotlin Programming By Example takes you through the building blocks of Kotlin, such as functions and classes. You’ll explore various features of Kotlin by building three applications of varying complexity. For a quick start to Android development, we look at building a classic game, Tetris, and elaborate on object-oriented programming in Kotlin. Our next application will be a messenger app, a level up in terms of complexity. Before moving onto the third app, we take a look at data persistent methods, helping us learn about the storage and retrieval of useful applications. Our final app is a place reviewer: a web application that will make use of the Google Maps API and Place Picker. By the end of this book, you will have gained experience of of creating and deploying Android applications using Kotlin.
Table of Contents (12 chapters)

Summary

In this chapter, we were introduced to Kotlin and explored its fundamentals. In the process, we learned how to install Kotlin on a computer, what an IDE is, the IDEs at your disposal for writing programs in Kotlin, how to write and run Kotlin scripts, and how to use the REPL. In addition, we learned how to work with both IntelliJ IDEA and Android Studio, after which we implemented a simple Android application. Lastly, we had a look at the fundamental concepts related to the web.

In the next chapter, we will get more familiar with writing Kotlin programs by creating an Android application. We will take a look at the Android application architecture and the important components of an Android application, as well as many more topics.