Kotlin - Tips, Tricks, and Techniques [Video]
-
Free ChapterTechniques to Reduce Development Time and Code
- The Course Overview
- Using an Expression Body to Reduce a Function to a Single Line
- Making Code More Readable with when Blocks
- Simplifying Functions with Named Arguments and Default Parameters
- Using Extension Functions and Properties to Add More Features
- Multiple Method Calls on an Object for Easier Readability
-
Tips to Make Code More Robust and Error-Free
-
Tips to Create and Use Classes Easier and Faster
-
Features to Use to Support Functional Programming
-
Optimizations to Improve App Startup and Performance
- Using the Kotlin Bytecode Tool to Observe Additional Overhead
- Using Late and Lazy Properties to Delay Initialization
- Inlining Higher Order Functions to Avoid Additional Java Calls
- Applying const to Companion Object Properties to Avoid Generating Extra Methods
- Using Sequences to Avoid Creating Temporary Lists
-
KTX Extensions for Easier Access to Android APIs
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.
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.
The code bundle for this video course is available at - https://github.com/PacktPublishing/Kotlin-Tips-Tricks-and-Techniques
Style and Approach
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.
- Publication date:
- September 2018
- Publisher
- Packt
- Duration
- 2 hours 22 minutes
- ISBN
- 9781789349641