Linked e-resources
Details
Table of Contents
Intro; Table of Contents; About the Author; About the Technical Reviewers; Acknowledgments; Introduction; Part I: The Kotlin Language; Chapter 1: Getting into Kotlin; About Kotlin; Installing the Java SDK; Installing on macOS; Installing on Windows 10; Installing on Linux; Installing Kotlin; Installing the Command Line Tools; HomeBrew or MacPort; Using a Zipped Installer; macOS and Linux; Windows 10; Using SDKMAN; Coding With the Command Line Tools; Installing IntelliJ; Creating a Project; The IntelliJ IDE; Chapter Summary; Chapter 2: Kotlin Basics; Program Elements; Literals; Variables.
Expressions and StatementsKeywords; Whitespace; Operators; Blocks; Comments; Basic Types; Numbers and Literal Constants; Characters; Booleans; Arrays; Strings and String Templates; Controlling Program Flow; Using ifs; The when Statement; The while Statement; for loops; Exception Handling; Handling Nulls; Chapter Summary; Chapter 3: Functions; Declaring Functions; Single Expression Functions; Default Arguments; Named Parameters; Variable Number of Arguments; Extension Functions; Infix Functions; Operator Overloading; Chapter Summary; Chapter 4: Working with Types; Interfaces; Diamond Problem.
Invoking Super BehaviorClasses; Constructors; Inheritance; Properties; Data Classes; Visibility Modifiers; Access Modifiers; Object Declarations; Chapter Summary; Chapter 5: Lambdas and Higher Order Functions; Higher Order Functions; Lambda and Anonymous Functions; Parameters in Lambda Expressions; Closures; with and apply; Chapter Summary; Chapter 6: Collections and Arrays; Arrays; Collections; Lists; Sets; Maps; Collections Traversal; Filter and Map; Chapter Summary; Chapter 7: Generics; Why Generics; Terminologies; Using Generics in Functions; Using Generics in Classes; Variance.
Subclass vs SubtypeReified Generics; Chapter Summary; Part II: Android Programming with Kotlin; Chapter 8: Android Studio Introduction and Setup; History; Architecture; Android Studio IDE; Setup; Android Studio Configuration; Hardware Acceleration; Chapter Summary; Chapter 9: Getting Started; What's in an App; Component Activation; Creating a Project; The IDE; Main Menu; Keyboard Shortcuts; Customizing Code Style; Chapter Summary; Chapter 10: Activities and Layouts; Application Entry Point; Activity Class; Layout File; View and ViewGroup Objects; Containers; Hello World; Modifying Hello World.
Chapter SummaryChapter 11: Event Handling; Introduction to Event Handling; Chapter Summary; Chapter 12: Intents; What Intents Are; Loose Coupling; Two Kinds of Intent; Intents Can Carry Data; Getting Back Results from Another Activity; Implicit Intents; Demo 1: Launch an Activity; Demo 2: Send Data to an Activity; Demo 3: Send and Get Data Back to and from an Activity; Demo 4: Implicit Intents; Chapter Summary; Chapter 13: Themes and Menus; Styles and Themes; Customizing the Theme; Menus; Chapter Summary; Chapter 14: Fragments; Introduction to Fragments.
Expressions and StatementsKeywords; Whitespace; Operators; Blocks; Comments; Basic Types; Numbers and Literal Constants; Characters; Booleans; Arrays; Strings and String Templates; Controlling Program Flow; Using ifs; The when Statement; The while Statement; for loops; Exception Handling; Handling Nulls; Chapter Summary; Chapter 3: Functions; Declaring Functions; Single Expression Functions; Default Arguments; Named Parameters; Variable Number of Arguments; Extension Functions; Infix Functions; Operator Overloading; Chapter Summary; Chapter 4: Working with Types; Interfaces; Diamond Problem.
Invoking Super BehaviorClasses; Constructors; Inheritance; Properties; Data Classes; Visibility Modifiers; Access Modifiers; Object Declarations; Chapter Summary; Chapter 5: Lambdas and Higher Order Functions; Higher Order Functions; Lambda and Anonymous Functions; Parameters in Lambda Expressions; Closures; with and apply; Chapter Summary; Chapter 6: Collections and Arrays; Arrays; Collections; Lists; Sets; Maps; Collections Traversal; Filter and Map; Chapter Summary; Chapter 7: Generics; Why Generics; Terminologies; Using Generics in Functions; Using Generics in Classes; Variance.
Subclass vs SubtypeReified Generics; Chapter Summary; Part II: Android Programming with Kotlin; Chapter 8: Android Studio Introduction and Setup; History; Architecture; Android Studio IDE; Setup; Android Studio Configuration; Hardware Acceleration; Chapter Summary; Chapter 9: Getting Started; What's in an App; Component Activation; Creating a Project; The IDE; Main Menu; Keyboard Shortcuts; Customizing Code Style; Chapter Summary; Chapter 10: Activities and Layouts; Application Entry Point; Activity Class; Layout File; View and ViewGroup Objects; Containers; Hello World; Modifying Hello World.
Chapter SummaryChapter 11: Event Handling; Introduction to Event Handling; Chapter Summary; Chapter 12: Intents; What Intents Are; Loose Coupling; Two Kinds of Intent; Intents Can Carry Data; Getting Back Results from Another Activity; Implicit Intents; Demo 1: Launch an Activity; Demo 2: Send Data to an Activity; Demo 3: Send and Get Data Back to and from an Activity; Demo 4: Implicit Intents; Chapter Summary; Chapter 13: Themes and Menus; Styles and Themes; Customizing the Theme; Menus; Chapter Summary; Chapter 14: Fragments; Introduction to Fragments.