Delegating delegates - Kotlin Vocabulary
HTML-код
- Опубликовано: 5 фев 2025
- Delegation is a design pattern in which an object handles a request by delegating to an object called delegate. The delegate is responsible for handling the request on behalf of the original object. Watch now to see more from Murat’s tutorial on delegating delegates in this episode of Kotlin Vocabulary and stay tuned for the next session!
Blog post → goo.gle/34Lhvvz
Watch more Kotlin Vocabulary→ goo.gle/2wHr94N
Subscribe to Android Developers → goo.gle/Androi...
#Kotlin #KotlinVocabulary #AndroidDevelopers
thank you so much, I finally understand what a delegate is, especially in kotlin.
i'm having a hard time reading the code even with glasses. could you please zoom in whenever you are discussing a certain part of the code next time? too much wasted space showing the whole IDE...
Ahh sorry for that! You can check out the code here medium.com/androiddevelopers/delegating-delegates-to-kotlin-ee0a0b21c52b
where are subtitles?
still not get it , complicated a lil bit but I'll keep struggling with this topic to master it
have you understood it after a year?
I'm watching for Murat Yener 😇👍
There is a mistake in Person class. "name" is not a type parameter.
I'm having a hard time understanding this topic because the course I enrolled in is full of word salad
doesn't work if we use like val person = Person(name = "krishna", lastName = "sharma") then use print(person.name) only works if we call setter using object. Also doesn't work with data classes
Poor explanation. Too much of jargon being used with unclear examples.
What is set(value) ? - It should be explained that it is a way to create a custom accessor in Kotlin. Prerequisites need to be mentioned.
subtitles + 1
I Like this
Delegate
I've been up to late, so I'm shutting down.
Yeah i know you on joing with me we on from cnnl grup on all ne safe because fail me on old hv to people me on
Is still very confusing
Hi Soma, please check out the corresponding blog post here for more help and information goo.gle/34Lhvvz
@@AndroidDevelopers Okay ‐ thanks!
Not a good explanation.
PLEASE STOP SENDING ME ALL THESE VIDEOS I AM NOT SUBSCRIBED TOO
You know, it's funny, I always feel like that but I liked this video and I'm like "you can just ignore it if you don't like it". Such a hypocrite.