In Kotlin, a singleton is a design pattern that ensures that only one instance of a class is created throughout the application. Properties can be defined in singletons to provide access to the singleton instance or to store state that is shared by all instances of the singleton.
-
Notifications
You must be signed in to change notification settings - Fork 0
In Kotlin, a singleton is a design pattern that ensures that only one instance of a class is created throughout the application. Properties can be defined in singletons to provide access to the singleton instance or to store state that is shared by all instances of the singleton.
License
VaibhavMojidra/Kotlin---Demo-Singletons
About
In Kotlin, a singleton is a design pattern that ensures that only one instance of a class is created throughout the application. Properties can be defined in singletons to provide access to the singleton instance or to store state that is shared by all instances of the singleton.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published