Searched refs:obtainViewModel (Results 1 – 8 of 8) sorted by relevance
64 import com.android.photopicker.core.obtainViewModel in <lambda>()88 fun PreviewSelection(viewModel: PreviewViewModel = obtainViewModel()) { in <lambda>()165 val viewModel: PreviewViewModel = obtainViewModel() in PreviewMedia()208 val viewModel: PreviewViewModel = obtainViewModel() in Preview()
39 import com.android.photopicker.core.obtainViewModel in <lambda>()63 fun AlbumGrid(viewModel: AlbumGridViewModel = obtainViewModel()) { in <lambda>()
53 import com.android.photopicker.core.obtainViewModel in <lambda>()87 viewModel: AlbumGridViewModel = obtainViewModel(), in InitialiseAlbumMedia()
70 import com.android.photopicker.core.obtainViewModel in <lambda>()115 viewModel: PreviewViewModel = obtainViewModel(), in VideoUi()617 viewModel: PreviewViewModel = obtainViewModel() in producePlaybackInfo()653 viewModel: PreviewViewModel = obtainViewModel() in produceAspectRatio()
41 import com.android.photopicker.core.obtainViewModel in <lambda>()58 fun PhotoGrid(viewModel: PhotoGridViewModel = obtainViewModel()) { in <lambda>()
48 import com.android.photopicker.core.obtainViewModel55 viewModel: ProfileSelectorViewModel = obtainViewModel(), in ProfileSelector()
47 import com.android.photopicker.core.obtainViewModel in <lambda>()74 viewModel: MediaPreloaderViewModel = obtainViewModel(), in <lambda>()
45 inline fun <reified VM : ViewModel> obtainViewModel(): VM { in obtainViewModel() method