Обложка канала

StartAndroid

Материалы по Android разработке. Проект startandroid.ru

StartAndroid

4 года назад
Открыть в
Подробный материал для начинающих c примерами и иллюстрациями про scope функции в Kotlin - run, let, also, apply, with #kotlin typealias.com/start/k…unctions
Scopes and Scope Functions

Kotlin's scope functions - with(), run(), let(), also(), and apply() - introduce a new scope where an object can be easily used. Learn about two different kinds of scopes and how they affect visibility. Then, explore all five scope functions, and learn how shadowing affects implicit receivers.

Dave Leeds on Kotlin