
Sign up to save your podcasts
Or


In this episode, Donn talks about Kotlin Lambda Expressions. He explains the syntax and how to build a couple of simple lambda expressions with and without type inference and declaration. We wrap up with a small example of passing a small lambda with multiple values to a function. See the show notes below for more info. This is part 1 of a multi-part series on Lambda Expressions in Kotlin.
The basic syntax of a lambda expression:
The codeBody is the only section that is not optional.
Double lambda expression (doubles an integer) with type inference
Double string multi-line lambda with type inference.
Type declaration in a lambda
Preview of next week … passing a lambda to a function
By Donn Felker, Kaushik Gopal5
6868 ratings
In this episode, Donn talks about Kotlin Lambda Expressions. He explains the syntax and how to build a couple of simple lambda expressions with and without type inference and declaration. We wrap up with a small example of passing a small lambda with multiple values to a function. See the show notes below for more info. This is part 1 of a multi-part series on Lambda Expressions in Kotlin.
The basic syntax of a lambda expression:
The codeBody is the only section that is not optional.
Double lambda expression (doubles an integer) with type inference
Double string multi-line lambda with type inference.
Type declaration in a lambda
Preview of next week … passing a lambda to a function

361 Listeners

402 Listeners

53 Listeners

48 Listeners

90 Listeners