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

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.

主站蜘蛛池模板: 全南县| 武定县| 杭州市| 昌平区| 奉化市| 定襄县| 共和县| 客服| 三都| 莒南县| 清远市| 永兴县| 凤山县| 台中县| 石家庄市| 剑阁县| 东阳市| 扎兰屯市| 舟曲县| 自治县| 江都市| 巴林右旗| 中山市| 威远县| 连州市| 金沙县| 托克托县| 于都县| 双流县| 翁源县| 洞头县| 龙州县| 河曲县| 大方县| 正定县| 明溪县| 共和县| 洪洞县| 且末县| 定襄县| 大兴区|