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

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.

主站蜘蛛池模板: 宁德市| 沿河| 阿克苏市| 科技| 定西市| 衡南县| 滁州市| 东明县| 汤原县| 盐山县| 泸西县| 眉山市| 耿马| 合山市| 忻州市| 高要市| 黎城县| 潞西市| 泗阳县| 富宁县| 临城县| 台安县| 长白| 浙江省| 江陵县| 星子县| 德庆县| 甘孜县| 清新县| 公安县| 肥城市| 广宁县| 怀化市| 昌邑市| 博兴县| 利辛县| 大石桥市| 孝昌县| 明光市| 彭水| 临武县|