Last updated 2 years ago by Rachit Mishrakotlin
In this tutorial, you will learn how to use lambda expressions and other functional literals provided by Kotlin for the Android platform.
Lambda expression is a simplified representation of a function. It can be passed as a parameter, stored in a variable or even returned as a value.
To practice using lambda expressions, you will build a simple app to save and manage your favorite songs. It will have the functionality to:
While doing so, you will explore the following Kotlin topics:
Time to start learning!
Use the Download Materials button at top or bottom of this tutorial to download the starter project.
Once the project is downloaded: