• Fri frakt över 249 kr
  • •
  • Snabba leveranser
  • •
  • Billiga böcker
Kundservice

Du är på sajten för privatpersoner.

Företag, bibliotek eller offentlig verksamhet?

Du handlar på classic.bokus.com, där alla dina funktioner finns intakta.
Till classic.bokus.com
Bokus logotyp. Gå till startsidan.
  • Erbjudanden
  • Nyheter
  • Student
  • Topplistor
  • Barn & ungdom
  • Bokus Play
  • E-böcker
  • Pocketböcker
  • Spel & pussel

10% rabatt på allt med kod NYSTART10 →

Sidfot

Mina sidor

    Hjälp

    • Kundservice
    • Vanliga frågor och svar
    • Frakt och leverans
    • Retur vid ångerrätt
    • Reklamera vara
    • Betalning
    • Köpvillkor
    • Allmänna villkor
    • Information om webbplatsens tillgänglighet

    Om Bokus

    • Om oss
    • Pressrum
    • För studenter
    • För företag
    • För bibliotek och offentlig verksamhet
    • För leverantörer
    • Hållbarhet

    Populärt

    • Aktuella erbjudanden
    • Presentkort
    • Studentlitteratur
    • Nya böcker
    • Topplistor
    • Signerade böcker
    • Engelska böcker

    Inspiration

    • Boktips
    • BookTok
    • Populära bokserier
    • Barnbokskaraktärer
    • Populära författare
    Logotyp för Bokus
    Följ oss på Facebook (extern länk)Följ oss på Instagram (extern länk)Följ oss på YouTube (extern länk)Följ oss på TikTok (extern länk)
    bokus @ CookiesAnpassa cookiesIntegritetspolicyKöpvillkor
    Till Citymail hemsida (extern länk)Till Budbee hemsida (extern länk)Till Postnord hemsida (extern länk)Till Schenker hemsida (extern länk)Till Early Bird hemsida (extern länk)Till Walleys hemsida (extern länk)
    1. Data och IT
    2. Programmeringsböcker

    Kotlin for Android App Development

    AvPeter Sommerhoff

    Häftad, Engelska, 2019

    Del i serien Developer's Library

    309 kr

    Beställningsvara. Skickas inom 7-10 vardagar. Fri frakt över 249 kr.

    Beskrivning

    Write More Robust and Maintainable Android Apps with Kotlin

    “Peter Sommerhoff takes a practical approach to teaching Kotlin by providing a larger set of code listings that demonstrate language features and by guiding readers through the development of two Android apps step by step. . . . Peter finds a good balance between what is essential and what can be left to readers, so this book is an efficient yet comprehensible source for starting programming with Kotlin.”

    –Bernhard Rumpe, Professor of Software Engineering, RWTH Aachen University

    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

    Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

    Produktinformation

    • Utgivningsdatum:2019-02-07
    • Mått:180 x 230 x 20 mm
    • Vikt:673 g
    • Format:Häftad
    • Språk:Engelska
    • Serie:Developer's Library
    • Antal sidor:432
    • Upplaga:1
    • Förlag:Pearson Education
    • ISBN:9780134854199

    Utforska kategorier

    • Programmeringsböcker inom Data och IT

    Mer om författaren

    Peter Sommerhoff is a software developer with a passion for teaching, hence he founded CodeAlong.TV. Today, he teaches development and design to 35,000+ motivated students worldwide. He holds a master’s degree in computer science from RWTH Aachen University in Germany. You can follow his activity on Twitter (@petersommerhoff) and on YouTube, where he shares educational content to help people become better software developers.

    Innehållsförteckning

    • Listings xiiiForeword xxviiPreface xxixAcknowledgments xxxiiAbout the Author xxxiiiPart I: Learning Kotlin 1Chapter 1: Introducing Kotlin 3What Is Kotlin? 3Goals and Language Concepts 4Why Use Kotlin on Android? 5Kotlin versus Java 8 6Tool Support and Community 7Business Perspective 7Who’s Using Kotlin? 8Summary 9Chapter 2: Diving into Kotlin 11Kotlin REPL 11Variables and Data Types 12Conditional Code 15Loops and Ranges 19Functions 21Null Safety 29Equality Checks 32Exception Handling 33Summary 36Chapter 3: Functional Programming in Kotlin 37Purpose of Functional Programming 37Functions 39Lambda Expressions 40Higher-Order Functions 41Working with Collections 45Scoping Functions 53Lazy Sequences 61Summary 67Chapter 4: Object Orientation in Kotlin 69Classes and Object Instantiation 69Properties 70Methods 80Primary and Secondary Constructors 82Inheritance and Overriding Rules 84Type Checking and Casting 89Visibilities 91Data Classes 94Enumerations 96Sealed Classes 98Objects and Companions 101Generics 105Summary 121Chapter 5: Interoperability with Java 123Using Java Code from Kotlin 123Using Kotlin Code from Java 133Best Practices for Interop 149Summary 150Chapter 6: Concurrency in Kotlin 151Concurrency 151Kotlin Coroutines 157Summary 200Part II: Kotlin on Android 203Chapter 7: Android App Development with Kotlin: Kudoo App 205Setting Up Kotlin for Android 205App #1: Kudoo, a To-Do List App 210Summary 239Chapter 8: Android App Development with Kotlin: Nutrilicious 241Setting Up the Project 242Adding a RecyclerView to the Home Screen 243Fetching Data from the USDA Nutrition API 250Mapping JSON Data to Domain Classes 257Introducing a ViewModel for Search 262Letting Users Search Foods 265Introducing Fragments I: The Search Fragment 268Introducing Fragments II: The Favorites Fragment 276Store User’s Favorite Foods in a Room Database 280Fetching Detailed Nutrition Data from the USDA FoodReports API 288Integrating the Details Activity 293Storing Food Details in the Database 302Adding RDIs for Actionable Data 307Improving the User Experience 311Summary 314Chapter 9: Kotlin DSLs 315Introducing DSLs 315Creating a DSL in Kotlin 318DSL for Android Layouts with Anko 328DSL for Gradle Build Scripts 335Summary 343Chapter 10: Migrating to Kotlin 345On Software Migrations 345Leading the Change 346Partial or Full Migration 349Where to Start 351Tool Support 354Summary 356Appendix A: Further Resources 359Official Resources 359Community 359Functional Programming 360Kotlin DSLs 360Migrating to Kotlin 360Testing 361Glossary 363Index 367