Book Image

Learn Kotlin by Developing Android Apps [Video]

By : Brandan Jones
Book Image

Learn Kotlin by Developing Android Apps [Video]

By: Brandan Jones

Overview of this book

<p>Kotlin has been making waves ever since it was open sourced by JetBrains in 2011; it has been praised by developers across the world and is already being adopted by companies. This video provides a detailed introduction to Kotlin that shows you all its features and will enable you to write Kotlin code to production. We start with the basics: get you familiar with running Kotlin code, setting up, tools, and instructions that you can use to write basic programs. Next, we cover &nbsp;object oriented code: functions and properties – all while using Kotlin’s new features.</p> <h1>Style and Approach</h1> <p>Practical, project-based approach</p>
Table of Contents (7 chapters)
Chapter 3
Connect Layouts and Widgets to Kotlin Functions
Content Locked
Section 1
Declaring Variables
Nearly all programming languages require representing a value in memory, and performing computations in memory. When we declare variables, we are reserving a space in memory where we can store values and perform computations. - What is an implied type - Understand the difference between val and var - How does Kotlin handle variables that are not initialized to a value (null)