Learn Kotlin for Android Development: The Next Generation Language for Modern Android Apps Programming
Authors: Peter Späth
ISBN-10: 1484244664
ISBN-13: 9781484244661
Edition 版本: 1st ed.
Released: 2019-05-30
Print Length 页数: 532 pages
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
1. Your First Kotlin Application: Hello Kotlin
2. Classes and Objects: Object Orientation Philosophy
3. Classes at Work: Properties and Functions
4. Classes and Objects: Extended Features
5. Expressions: Operations on Data
6. Comments in Kotlin Files
7. Structural Constructs
8. Exceptions: If Something Goes Wrong
9. Data Containers
10. True,False,and Undecided: Nullability
11. Handling Equality
12. Back to Math: Functional Programming
13. About Type Safety: Generics
14. Adding Hints: Annotations
15. Using the Java and Kotlin APIs
16. The Collections APl
17. More APIs
18. Working in Parallel: Multithreading
19. Using External Libraries
20. XML and JSON