If You’re New to Android and/or Kotlin

Kotlin and Android Development featuring Jetpack — by Michael Fazio (6 / 125)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Who Is This Book For | TOC | How to Read This Book 👉

This may seem overwhelming at first, but as the book goes on, things will make more and more sense. I recommend checking out the source code I’ll mention in the next section to see how things fit together. With Android apps, a high-level overview is that your UI (what the user sees) is mostly handled within XML, while the logic is handled with the Kotlin code.

Speaking of Kotlin, you’ll find a number of mentions to Java in the book. Now, we are not going to be writing any Java code in the book, but we will be interacting with it, as most Android libraries were written in Java. Therefore, our Kotlin setup includes associating with a Java version, and we even use a directory called java for our Kotlin code. This is all because both Java and Kotlin compile down to the same byte code, so we can use them interchangeably. Just try to not be thrown off when you see Java mentioned, because it doesn’t mean you need to start writing Java code or anything.

👈 Who Is This Book For | TOC | How to Read This Book 👉

Kotlin and Android Development featuring Jetpack by Michael Fazio can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.