Kotlin Object Declaration & Expressions | Singleton Pattern | Cheezycode #26
Вставка
- Опубліковано 25 чер 2020
- In this tutorial, learn about object keyword in kotlin and implement singleton pattern using object declaration. Learn what is object declaration and object expression in kotlin with working examples. This tutorial is part #26 of Kotlin Programming For Beginners Series. Learn Object Oriented Programming in Kotlin. Everything is explained in Hindi. Brief topics covered -
1. What is object Keyword in Kotlin?
2. Object Declaration in Kotlin With Example
3. Implement Kotlin Singleton Pattern Tutorial
3. Object Expression Kotlin Tutorial
4. Object Oriented Programming in Kotlin
Learn all this in Hindi (हिंदी में )
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
For more info - visit below link
www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Superb explanation bro👍
As Always awesome sir
Thank you
jese hi program load hoga toh object class bhi initialize ho jaaegi?
object class ka instance tabhi bane jab vo first time call ho...uske liye kya karenge?
by Lazy
Question h bro ki agar application level p object bna diya db s data lene ka toh or agar use hi nahi hua toh object memory leak kutch problem toh na hoga aisa kutch question poocha tha interview lene wale n kutch bta saktey ho uspe
Yes - Memory leak hoga
Reason - As soon as the application starts this object will be created in the memory, no matter what. Use this if it is really required to have the object from the very beginning.
sir, how much knowledge of kotlin is required to develop android app in kotlin language....??
Basics will be covered in this series. There is no end to learning Kotlin. There are lot many things. Will be covering the basics for Android Development
how to check running services in anonymous object
Context se activity manager, activity manager se running services
Sir kotlin ke aur video dalo please
Which topic?
ua-cam.com/play/PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G.html
This is the whole playlist... Coroutines are covered separately in different playlist
how can i get Context from object class
May be a setter method inside object
Add init method in object class in application call object.init and u can use this in any fragment too , i used it for shared preference
what is benefit of annonymus object?
Video Mei btaya hai..short Mei btau toh ye maan skte ho...ki ek subclass nahi banana chahta - just then and there ek anonymously object banana chahta hu.
.
.
Don't need to inherit a class and then override it's property and method. Using this concept I can just override the method there only.
Koi bhi Android me on click ki listener adapter me try Karo
Your sound is too low in all lectures...
Weird moan at 10:15
Table khisakne ki awaaz hai 😂