0%

Book Description

Build Android apps and learn the essentials of the popular Kotlin programming language and APIs. This book will teach you the key Kotlin skills and techniques important for creating your very own Android apps. Apart from introducing Kotlin programming, Learn Kotlin for Android Development stresses clean code principles and introduces object-oriented and functional programming as a starting point for developing Android apps. 

After reading and using this book, you'll have a foundation to take away and apply to your own Kotlin-based Android app development. You'll be able to write useful and efficient Kotlin-based apps for Android, using most of the features Kotlin as a language has to offer. 

What You Will Learn
  • Build your first Kotlin app that runs on Android
  • Work with Kotlin classes and objects for Android
  • Use constructs, loops, decisions, and scopes 
  • Carry out operations on data 
  • Master data containers, arrays, and collections
  • Handle exceptions and access external libraries
Who This Book Is For

Very little programming experience is required: no prior knowledge of Kotlin needed.  

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Your First Kotlin Application: Hello Kotlin
  4. 2. Classes and Objects: Object Orientation Philosophy
  5. 3. Classes at Work: Properties and Functions
  6. 4. Classes and Objects: Extended Features
  7. 5. Expressions: Operations on Data
  8. 6. Comments in Kotlin Files
  9. 7.  Structural Constructs
  10. 8. Exceptions: If Something Goes Wrong
  11. 9. Data Containers
  12. 10. True, False, and Undecided: Nullability
  13. 11. Handling Equality
  14. 12. Back to Math: Functional Programming
  15. 13. About Type Safety: Generics
  16. 14. Adding Hints: Annotations
  17. 15. Using the Java and Kotlin APIs
  18. 16. The Collections API
  19. 17. More APIs
  20. 18. Working in Parallel: Multithreading
  21. 19. Using External Libraries
  22. 20. XML and JSON
  23. Back Matter
3.147.66.178