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?
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
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.
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
Sir, you way of teaching is really superb.... keep making videos sir we really like your contents...
Thanks, it is usefull for retrofit & room database in android
The best video of world
Perfect explanation
Wow explaination ❤
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?
you saved my day
Super explanation
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
I don't understand the invoke operator, is it used with only companion block? or it has other uses also?
Loved it!
GREAT THANKS, BRO.
Thnku For the Series 🤝 please make a Video on sockets with Api responses dealing please please🙏
Can i user 'instance get()=...' instead of function and wich on is better
ur choice
@@Sumitmaurya070 no getter in kotlin is better performance i read kotlin doca
@@Sumitmaurya070 no getter in kotlin is better performance i read kotlin doca
Hi sir.. How to pass a parameter? in case we need the parameter to be passed to object class
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.
What's the difference between creating object by singleton method and creating object by lazy delegates?
Only the initialization of an object declaration is thread-safe. If you are using this object outside it won't be thread-safe.
Thanku thanku thanku thanku thanku
Thank you
Gold❤️
Mann thanksssss i wish i can put 2 like
bhai jab wish kar hi rahe ho to 2 se jayada hi ka wish kar lo....:)
@@deeprajpandey7612 ????
@@tortoiseshell_cat its a joke bro.... haaaa....jab wish hi karna hai to kitna bhi like karna ka maan lete hai na... ha.aaaaa
@@deeprajpandey7612 no hindi😀
@@tortoiseshell_cat jokes a part bro... :)
Great
Who else liking Kotlin more than Java?😀