Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Kotlin scope functions in this comprehensive 27-minute tutorial. Dive deep into the usage and differences between 'with', 'apply', 'run', 'also', and 'let' higher-order functions, examining their Lambda expression implementations. Understand the properties of each function, including whether they return a 'Context Object' or 'lambda result', and how to access the context object using either the 'this' keyword or 'it' identifier. Follow along with practical examples and gain insights into when and how to effectively use these scope functions in your Kotlin projects.
Syllabus
Welcome
Types of Scope Functions
'with' function
'apply' function
'also' function
'let' function
'run' function
Quick Video Guide .
Taught by
Smartherd