Book Image

Kotlin - Tips, Tricks, and Techniques [Video]

By : Nigel Henshaw
Book Image

Kotlin - Tips, Tricks, and Techniques [Video]

By: Nigel Henshaw

Overview of this book

<p>Do you want to see an increase in your productivity as an Android developer? With this course, you will discover new possibilities with Kotlin and improve your app development process.</p> <p>In this course, you will work with interesting tools and techniques on examples which you can adopt straightaway. You will speed up your development with less coding and get faster results. By the end of this course, you will be able to write faster, cleaner code and make your life easy as a Kotlin developer.</p> <p>The code bundle for this video course is available at -&nbsp;<a href="https://github.com/PacktPublishing/Kotlin-Tips-Tricks-and-Techniques" target="_blank">https://github.com/PacktPublishing/Kotlin-Tips-Tricks-and-Techniques</a></p> <h2>Style and Approach</h2> <p>A comprehensive course packed with step-by-step instructions, working examples, and helpful tips and techniques on working with Kotlin. This course is divided into clear chunks so you can learn at your own pace and focus on your own area of interest.</p>
Table of Contents (6 chapters)
Chapter 4
Features to Use to Support Functional Programming
Content Locked
Section 2
Using Higher Order Functions for Clean Code Abstraction
Java does not support passing a function to another function as an argument. Find a solution where a function can be passed to another function. - Create a function with a function type as its parameter - Replace the function argument with a lambda expression - Call the function type parameter from inside the function