Created
December 2, 2019 11:12
-
-
Save fida1989/76616aabc7ccee5f34d74ff3ad6a41b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Manager private constructor(context: Context) { | |
init { | |
// Init using context argument | |
} | |
companion object : SingletonHolder<Manager, Context>(::Manager) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment