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 5
Optimizations to Improve App Startup and Performance
Content Locked
Section 5
Using Sequences to Avoid Creating Temporary Lists
Running multiple operations, such as chaining filter and map calls on large collections, can result in poor performance. Find a solution to improve performance when running multiple operations on large collections. - Use Kotlin Bytecode tool to identify performance issues - Replace the implementation with a sequence - View equivalent Java code to confirm the removal of temporary lists