Home
last modified time | relevance | path

Searched refs:singletonInstance (Results 1 – 2 of 2) sorted by relevance

/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/
H A DUpdatesDevLauncherController.kt195 private var singletonInstance: UpdatesDevLauncherController? = null variable
198 …return checkNotNull(singletonInstance) { "UpdatesDevLauncherController.instance was called before … in <lambda>()
202 if (singletonInstance == null) { in initialize()
203 singletonInstance = UpdatesDevLauncherController() in initialize()
H A DUpdatesController.kt582 private var singletonInstance: UpdatesController? = null variable
585 …return checkNotNull(singletonInstance) { "UpdatesController.instance was called before the module … in <lambda>()
589 if (singletonInstance == null) { in initializeWithoutStarting()
591 singletonInstance = UpdatesController(context, updatesConfiguration) in initializeWithoutStarting()
601 if (singletonInstance == null) { in initialize()
603 singletonInstance!!.start(context) in initialize()
614 if (singletonInstance == null) { in initialize()
616 singletonInstance = UpdatesController(context, updatesConfiguration) in initialize()
617 singletonInstance!!.start(context) in initialize()