Kotlin for Android App Development

Paperback Engels 2019 1e druk 9780134854199
€ 48,48
Levertijd ± 11 werkdagen
Gratis verzonden

Samenvatting

The Kotlin language brings state-of-the-art programming techniques and constructs to Android development. 'Kotlin for Android App Development' will help you rapidly understand Kotlin’s principles and techniques, apply Kotlin in production app development, integrate Kotlin with existing Java code, and plan a migration to Kotlin, if you choose.

If you have at least basic programming experience (with any language), Peter Sommerhoff’s well-crafted overview and examples will help you get quickly up-to-speed with the Kotlin language, its constructs, and its advanced functional and object-oriented capabilities.

Once you’ve mastered these foundations, Sommerhoff walks you through two complete app development projects, introducing best practices and emerging patterns for writing code that’s robust, concise, readable, and highly performant.

- Understand Kotlin’s goals, principles, advantages, design, and constructs
- Take full advantage of functional programming in the Kotlin environment
- Write more concise and reusable code using Kotlin’s object-oriented features
- Interoperate with existing Java code, and plan a migration to Kotlin
- Use coroutines to efficiently handle concurrency
- Capture data via third-party APIs, map it to internal data representations, and present it to users
- Master best practices for architecting Kotlin Android apps
- Improve productivity and readability by creating simple domain-specific languages in Kotlin

Specificaties

ISBN13:9780134854199
Taal:Engels
Bindwijze:paperback
Aantal pagina's:400
Druk:1
Verschijningsdatum:31-1-2019
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Listings xiii
Foreword xxvii
Preface xxix
Acknowledgments xxxii
About the Author xxxiii

Part I: Learning Kotlin 1
Chapter 1: Introducing Kotlin 3
What Is Kotlin? 3
Goals and Language Concepts 4
Why Use Kotlin on Android? 5
Kotlin versus Java 8 6
Tool Support and Community 7
Business Perspective 7
Who’s Using Kotlin? 8
Summary 9

Chapter 2: Diving into Kotlin 11
Kotlin REPL 11
Variables and Data Types 12
Conditional Code 15
Loops and Ranges 19
Functions 21
Null Safety 29
Equality Checks 32
Exception Handling 33
Summary 36

Chapter 3: Functional Programming in Kotlin 37
Purpose of Functional Programming 37
Functions 39
Lambda Expressions 40
Higher-Order Functions 41
Working with Collections 45
Scoping Functions 53
Lazy Sequences 61
Summary 67

Chapter 4: Object Orientation in Kotlin 69
Classes and Object Instantiation 69
Properties 70
Methods 80
Primary and Secondary Constructors 82
Inheritance and Overriding Rules 84
Type Checking and Casting 89
Visibilities 91
Data Classes 94
Enumerations 96
Sealed Classes 98
Objects and Companions 101
Generics 105
Summary 121

Chapter 5: Interoperability with Java 123
Using Java Code from Kotlin 123
Using Kotlin Code from Java 133
Best Practices for Interop 149
Summary 150

Chapter 6: Concurrency in Kotlin 151
Concurrency 151
Kotlin Coroutines 157
Summary 200
Afgekapt op 63 regels

Managementboek Top 100

€ 48,48
Levertijd ongeveer 11 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Kotlin for Android App Development