Тёмный
No video :(

Kotlin Standard Delegates - Lazy, Observable and Vetoable 

Simplified Coding
Подписаться 118 тыс.
Просмотров 9 тыс.
50% 1

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

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@SimplifiedCoding
@SimplifiedCoding 3 года назад
At 4:52 I accidentally said that "to the constructor we will pass", but the observable is a function and not a class. So here we are passing the initial value to the function as a parameter. Sorry for this.
@sudishkumar5638
@sudishkumar5638 2 года назад
Llll L L
@mohamedfiyaz8356
@mohamedfiyaz8356 3 года назад
Useful topics which used while day today coding. 👍
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Glad to hear that!
@TheImaginativeSachin
@TheImaginativeSachin Год назад
These are awesome do you videos explaining all about lamdas. It's hard to understand :(
@jamadir
@jamadir 2 года назад
thank you very much! super simply explained!
@theredd1703
@theredd1703 Год назад
Thanks!!!
@ajeenadev6636
@ajeenadev6636 2 года назад
Nice class
@GriNAME
@GriNAME 2 года назад
Thank you a lot! Really cool lessons!
@shreyashchoudhary7413
@shreyashchoudhary7413 3 года назад
Loved it!
@77Bibo77
@77Bibo77 3 года назад
That was really good! MTBA
@abhishekjha4290
@abhishekjha4290 3 года назад
Great work.....
@ahmednabil5119
@ahmednabil5119 3 года назад
Thanks alot.
@brucebane7401
@brucebane7401 3 года назад
amazing tutorial !!!!
@gibraanjafar1669
@gibraanjafar1669 3 года назад
If incase anyone is using some other editor like VSCode, vim etc , do add the import => import kotlin.properties.Delegates.
@manikandan97
@manikandan97 3 года назад
Hai bro, why video quality is only 320p what happened?
@SimplifiedCoding
@SimplifiedCoding 3 года назад
RU-vid takes some time to process HD videos, after some time it will become Full HD.
@Arunkumar-xf1hd
@Arunkumar-xf1hd 3 года назад
@@SimplifiedCoding i seen in 1440p60 thankyou so much sir for all your helpfull videos
@brucebane7401
@brucebane7401 3 года назад
what is the datatype/classtype of heavy. dont we have to specify a classname when lazy loaded like val heavy:Classname by lazy ......
@akashviet007
@akashviet007 3 года назад
we can observe the changes by defining normal setter also, then what is the use of Delegate.observable ??
@SimplifiedCoding
@SimplifiedCoding 3 года назад
Functionality wise both are same but delegates may be better in cases where you are having the same functionality for multiple variables. With setters you need to write duplicate code but You can assign the deligate to a variable and then use the same variable as the delegates. This will reduce your code repetition.
@akashviet007
@akashviet007 3 года назад
@@SimplifiedCoding Okay 👍
@arjundixit5913
@arjundixit5913 3 года назад
vetoable vs setter? set(value) { field = value } also does the same thing i guess
@vathsan3906
@vathsan3906 3 года назад
I guess vetoable is like set(value) { if(condition) field = value }
@erickfiorek8455
@erickfiorek8455 3 года назад
Woow woow 😍💋 💝💖❤️
Далее
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Просмотров 1,6 млн
Kotlin Generics Explained with Example
10:18
Просмотров 18 тыс.
Kotlin lazy delegate - explanation and example
7:58
Просмотров 11 тыс.
6 Design Patterns Every Android Developer Must Know
14:16
Kotlin Exception Handling Tutorial
12:23
Просмотров 8 тыс.
Kotlin Abstract Class Tutorial with Example
13:02
Просмотров 10 тыс.
Kotlin Delegating Properties Tutorial with Example
8:33
Kotlin Sealed Class (With Demo Source code)
11:17
Просмотров 18 тыс.
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Просмотров 1,6 млн