Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Kotlin Scope Functions - Let, Apply, Run, With, and Also

Smartherd via YouTube

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

Reviews

Start your review of Kotlin Scope Functions - Let, Apply, Run, With, and Also

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.