Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- companion object {
- private var INSTANCE: DpickAvatarProvider? = null
- @JvmStatic
- fun getInstance(
- resourcesProvider: ResourceProvider
- ): DpickAvatarProvider = INSTANCE ?: DpickAvatarProvider(
- resourcesProvider = resourcesProvider
- ).apply { INSTANCE = this }
- @VisibleForTesting
- fun destroyInstance() {
- INSTANCE = null
- }
- }
Add Comment
Please, Sign In to add comment