官术网_书友最值得收藏!

What this book covers

Chapter 1, Beginning Your Kotlin Adventure, discusses the Kotlin language, its features, and reasons to use it. We'll introduce the reader to the Kotlin platform and show how Kotlin fits into the  Android development process.

Chapter 2, Laying a Foundation, is largely devoted to the building blocks of Kotlin. It presents various constructs, data types, and features that make Kotlin an enjoyable language to work with.

Chapter 3, Playing with Functions, explains various ways to define and call a function. We will also discuss function modifiers and look at possible locations where function can be defined.

Chapter 4, Classes and Objects, discusses Kotlin features related to object-oriented programming. You will learn about different types of class. We will also see features that improve readability: property operator overloading and infix calls.

Chapter 5, Functions as First-Class Citizens, covers Kotlin support for functional programming and functions as first-class citizens. We will take a closer look at lambdas, higher order functions, and function types.

Chapter 6, Generics Are Your Friends, explores the subjects of generic classes, interfaces, and functions. We will take a closer look at the Kotlin generic type system.

Chapter 7, Extension Functions and Properties, demonstrates how to add new behavior to an existing class without using inheritance. We will also discuss simpler ways to deal with collections and stream processing.

Chapter 8, Delegates, shows how Kotlin simplifies class delegation due to built-in language support. We will see how to use it both by using built-in property delegates and by defining custom ones.

Chapter 9, Making Your Marvel Gallery Application, utilizes most of the features discussed in the book and uses them to build a fully functional Android application in Kotlin.

主站蜘蛛池模板: 遵化市| 晋城| 宁国市| 长沙县| 福海县| 清水河县| 龙岩市| 清镇市| 温州市| 贵定县| 太原市| 桑植县| 广西| 类乌齐县| 德昌县| 靖安县| 儋州市| 前郭尔| 磐石市| 长治县| 石景山区| 夏邑县| 措美县| 西吉县| 都兰县| 南通市| 永吉县| 天祝| 读书| 广元市| 鱼台县| 武胜县| 兰考县| 通渭县| 井冈山市| 贡觉县| 冀州市| 长泰县| 富顺县| 肥乡县| 阳西县|