Searched refs:ViewModel (Results 1 – 13 of 13) sorted by relevance
22 import androidx.lifecycle.ViewModel29 class MyViewModel() : ViewModel()36 ) : ViewModel()41 class MyNestedInjectedViewModel @Inject constructor(foo: Foo) : ViewModel()49 ) : ViewModel()
24 import androidx.lifecycle.ViewModel in <lambda>()95 ) : ViewModel() in <lambda>()
21 import androidx.lifecycle.ViewModel;54 Map<String, Provider<ViewModel>> getHiltViewModelMap(); in getHiltViewModelMap()63 Map<String, ViewModel> hiltViewModelMap(); in hiltViewModelMap()83 protected <T extends ViewModel> T create( in HiltViewModelFactory()87 Provider<? extends ViewModel> provider = in HiltViewModelFactory()105 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create()
16 # Hilt lifecycle ViewModel hooks.
19 import androidx.lifecycle.ViewModel;58 static final class ActivityRetainedComponentViewModel extends ViewModel {92 public <T extends ViewModel> T create(@NonNull Class<T> aClass) { in ActivityRetainedComponentManager()
24 import androidx.lifecycle.ViewModel47 ) : ViewModel()
2 -keepnames @dagger.hilt.android.lifecycle.HiltViewModel class * extends androidx.lifecycle.ViewModel
16 # Hilt ViewModel integration.
10 import androidx.lifecycle.ViewModel in <lambda>()64 class AnimationModel : ViewModel(), CoroutineScope {
45 ValidateAndInitialize(libtextclassifier3::ViewModel(owned_buffer_.data(),
585 const Model* ViewModel(const void* buffer, int size);600 ViewModel(mmap.handle().start(), mmap.handle().num_bytes()); in VisitAnnotatorModel()
445 const Model* model = libtextclassifier3::ViewModel( in GetLocalesFromMmap()458 const Model* model = libtextclassifier3::ViewModel( in GetVersionFromMmap()471 const Model* model = libtextclassifier3::ViewModel( in GetNameFromMmap()
3181 const Model* ViewModel(const void* buffer, int size) { in ViewModel() function