Тёмный
No video :(

Kotlin tutorial : How to use Function Literal with Receiver in Kotlin | Kotlin 101 

jiajin zheng
Подписаться 300
Просмотров 1,8 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@jiajinzheng3082
@jiajinzheng3082 2 года назад
At 09:00 `this` keyword points to the instance/object of the class, not the class itself. Thanks @firas zuriekat for pointing that out.
@PrathivAR-f7l
@PrathivAR-f7l 4 дня назад
Ur GOD of teaching , Kindly requesting u to start teaching
@aditchauhan876
@aditchauhan876 Год назад
GOd level explanation, much needed for community
@silvahmx
@silvahmx Год назад
Thanks for the explanation, this video was useful to me to understand the function literal with receiver
@gokulkumarb5486
@gokulkumarb5486 Год назад
Wow! Excellent way of explaining
@Gennys
@Gennys 6 месяцев назад
You don't need to explicitly type Unit every time you can just use empty curly braces {} So a lambda type looks like () -> {} Kotlin and Java have type inference and explicitly declaring it as a Unit is redundant. The lambda will correctly infer its return type and unless you specifically want a Void or Unit you won't need to explicitly type it as such.
@tonhom260
@tonhom260 Год назад
This helps me lot , thank you❤❤
@jj2006h
@jj2006h Год назад
omfg ,best explanation
@frank4pickerson
@frank4pickerson 2 года назад
Great video. The This keyword is actually pointing to an object of Task. It doesn't point to Task class. It points to an instance of Task
@jiajinzheng3082
@jiajinzheng3082 2 года назад
Thanks for pointing out
@frank4pickerson
@frank4pickerson 2 года назад
@@jiajinzheng3082 You welcome!!!
@AndroidDev-ws6wd
@AndroidDev-ws6wd Год назад
Nice
@anatlevin4819
@anatlevin4819 Год назад
great video! thank you
Далее
5 Fun Ways to Use Extension Functions in Kotlin
18:46
Kotlin DSL in under an hour by Anton Arhipov
41:30
Просмотров 3,4 тыс.
Generics: The most intimidating TypeScript feature
18:19
How to Use Simple Lambda Expressions in Kotlin
13:20
Просмотров 4,2 тыс.
AWS SDK for Kotlin overview by Ian Botsford
39:34
Просмотров 1,9 тыс.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Kotlin Coroutines 101 - Android Conference Talks
24:49
Просмотров 134 тыс.
Context Receivers Are Coming to Kotlin!
31:44
Просмотров 37 тыс.
Let, Also, Apply, Run, With - Kotlin Scope Functions
11:44