Searched refs:embeddedLifecycle (Results 1 – 3 of 3) sorted by relevance
53 val embeddedLifecycle = LocalEmbeddedLifecycle.current in obtainViewModel() constant54 checkNotNull(embeddedLifecycle) { in obtainViewModel()60 LocalViewModelStoreOwner provides embeddedLifecycle, in obtainViewModel()61 LocalLifecycleOwner provides embeddedLifecycle, in obtainViewModel()62 LocalSavedStateRegistryOwner provides embeddedLifecycle, in obtainViewModel()66 embeddedLifecycle, in obtainViewModel()67 factory = embeddedLifecycle.defaultViewModelProviderFactory in obtainViewModel()
76 private lateinit var embeddedLifecycle: EmbeddedLifecycle in <lambda>() variable in com.android.photopicker.core.EmbeddedServiceModule86 if (::embeddedLifecycle.isInitialized) { in <lambda>()87 return embeddedLifecycle in <lambda>()90 embeddedLifecycle = EmbeddedLifecycle(viewModelFactory) in <lambda>()91 return embeddedLifecycle in <lambda>()128 embeddedLifecycle: EmbeddedLifecycle, in <lambda>()135 embeddedLifecycle.lifecycle.addObserver( in <lambda>()255 embeddedLifecycle: EmbeddedLifecycle, in <lambda>()263 embeddedLifecycle.lifecycle.addObserver( in <lambda>()
79 val embeddedLifecycle = EmbeddedLifecycle(viewModelFactory) in provideEmbeddedLifecycle() constant80 return embeddedLifecycle in provideEmbeddedLifecycle()