Тёмный
No video :(

Kotlin Singleton Tutorial - Companion Object, Operator Invoke 

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

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

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@gibraanjafar1669
@gibraanjafar1669 3 года назад
The content is so good, concise and to the point that I don't mind watching the adds. Thanks Belal for this really nice playlist
@gulfappdeveloper2849
@gulfappdeveloper2849 3 года назад
Thanks, it is usefull for retrofit & room database in android
@deeprajpandey7612
@deeprajpandey7612 3 года назад
Sir, you way of teaching is really superb.... keep making videos sir we really like your contents...
@Taran949
@Taran949 Месяц назад
Wow explaination ❤
@benjaminsilva7384
@benjaminsilva7384 2 года назад
The best video of world
@deepakshah3108
@deepakshah3108 Год назад
Super explanation
@peshutanpavri1599
@peshutanpavri1599 2 года назад
I have learnt a lot from this playlist and I have subscribed, but I have to admit, I dont prefer Kotlin to Java anymore (at this time), maybe I will grow to like it :)
@CSEG1018
@CSEG1018 2 года назад
Thanku thanku thanku thanku thanku
@tuyenvokhac7943
@tuyenvokhac7943 3 года назад
Perfect explanation
@trunghieu5386
@trunghieu5386 3 года назад
you saved my day
@muskanyousaf20
@muskanyousaf20 3 года назад
Thnku For the Series 🤝 please make a Video on sockets with Api responses dealing please please🙏
@zakariarada1856
@zakariarada1856 3 года назад
GREAT THANKS, BRO.
@shreyashchoudhary7413
@shreyashchoudhary7413 3 года назад
Loved it!
@hanki009
@hanki009 3 года назад
Hi Belal, really insightful tutorial about Singleton. I would like to know how can we use the volatile keyword for our instance? Can we do that similar to java by adding volatile keyword ahead of the instance declaration?
@RWS123ful
@RWS123ful 7 месяцев назад
Only the initialization of an object declaration is thread-safe. If you are using this object outside it won't be thread-safe.
@Affliction604
@Affliction604 3 года назад
Thank you
@akashviet007
@akashviet007 3 года назад
I don't understand the invoke operator, is it used with only companion block? or it has other uses also?
@tortoiseshell_cat
@tortoiseshell_cat 3 года назад
Gold❤️
@veedfriendforever5990
@veedfriendforever5990 3 года назад
good morning, Hello sir, I am working a project that require some permission that dose not provide normally so, want to know about device policy manager in describe details so please help if you? thank you
@amazoncrazydeals5061
@amazoncrazydeals5061 3 года назад
Great
@indra.ndra26
@indra.ndra26 3 года назад
Hi sir.. How to pass a parameter? in case we need the parameter to be passed to object class
@SimplifiedCoding
@SimplifiedCoding 3 года назад
You can use operator fun invoke, or you can use companion object way as I shown you initially. Or you can directly access object to assign objects that are needed. There are many ways, it depends on your use case.
@mohamedfiyaz8356
@mohamedfiyaz8356 3 года назад
What's the difference between creating object by singleton method and creating object by lazy delegates?
@youmeandeveryone5893
@youmeandeveryone5893 3 года назад
Who else liking Kotlin more than Java?😀
@tortoiseshell_cat
@tortoiseshell_cat 3 года назад
Mann thanksssss i wish i can put 2 like
@deeprajpandey7612
@deeprajpandey7612 3 года назад
bhai jab wish kar hi rahe ho to 2 se jayada hi ka wish kar lo....:)
@tortoiseshell_cat
@tortoiseshell_cat 3 года назад
@@deeprajpandey7612 ????
@deeprajpandey7612
@deeprajpandey7612 3 года назад
@@tortoiseshell_cat its a joke bro.... haaaa....jab wish hi karna hai to kitna bhi like karna ka maan lete hai na... ha.aaaaa
@tortoiseshell_cat
@tortoiseshell_cat 3 года назад
@@deeprajpandey7612 no hindi😀
@deeprajpandey7612
@deeprajpandey7612 3 года назад
@@tortoiseshell_cat jokes a part bro... :)
@tortoiseshell_cat
@tortoiseshell_cat 3 года назад
Can i user 'instance get()=...' instead of function and wich on is better
@Sumitmaurya070
@Sumitmaurya070 3 года назад
ur choice
@tortoiseshell_cat
@tortoiseshell_cat 3 года назад
@@Sumitmaurya070 no getter in kotlin is better performance i read kotlin doca
@tortoiseshell_cat
@tortoiseshell_cat 3 года назад
@@Sumitmaurya070 no getter in kotlin is better performance i read kotlin doca
Далее
Kotlin Generics Explained with Example
10:18
Просмотров 18 тыс.
microsoft doubles down on recording your screen
10:00
Wife habit 😂 #shorts
00:16
Просмотров 53 млн
Х.евая доставка 😂
00:23
Просмотров 1,3 млн
ПАВЕЛ ДУРОВ АРЕСТОВАН
1:45:21
Просмотров 113 тыс.
6 Design Patterns Every Android Developer Must Know
14:16
Kotlin Sealed Class Tutorial with Example
5:49
Просмотров 19 тыс.
Kotlin companion object - common use cases
5:10
Просмотров 9 тыс.
Singletons | What When How 🔥
7:30
Просмотров 32 тыс.
Kotlin Enum Tutorial with Example
5:24
Просмотров 9 тыс.
Kotlin Sealed Class (With Demo Source code)
11:17
Просмотров 18 тыс.
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
Kotlin Delegating Properties Tutorial with Example
8:33