Home
last modified time | relevance | path

Searched refs:ViewModel (Results 1 – 13 of 13) sorted by relevance

/external/dagger2/javatests/artifacts/hilt-android/simpleKotlin/app/src/androidTest/java/dagger/hilt/android/simpleKotlin/viewmodel/
DMyViewModels.kt22 import androidx.lifecycle.ViewModel
29 class MyViewModel() : ViewModel()
36 ) : ViewModel()
41 class MyNestedInjectedViewModel @Inject constructor(foo: Foo) : ViewModel()
49 ) : ViewModel()
DViewModelScopedTest.kt24 import androidx.lifecycle.ViewModel in <lambda>()
95 ) : ViewModel() in <lambda>()
/external/dagger2/java/dagger/hilt/android/internal/lifecycle/
DHiltViewModelFactory.java21 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()
DBUILD16 # Hilt lifecycle ViewModel hooks.
/external/dagger2/java/dagger/hilt/android/internal/managers/
DActivityRetainedComponentManager.java19 import androidx.lifecycle.ViewModel;
58 static final class ActivityRetainedComponentViewModel extends ViewModel {
92 public <T extends ViewModel> T create(@NonNull Class<T> aClass) { in ActivityRetainedComponentManager()
/external/dagger2/javatests/artifacts/hilt-android/simpleKotlin/app/src/main/java/dagger/hilt/android/simpleKotlin/
DMainActivity.kt24 import androidx.lifecycle.ViewModel
47 ) : ViewModel()
/external/dagger2/java/dagger/hilt/android/lifecycle/
Dproguard-rules.pro2 -keepnames @dagger.hilt.android.lifecycle.HiltViewModel class * extends androidx.lifecycle.ViewModel
DBUILD16 # Hilt ViewModel integration.
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/animation-app/app/src/main/java/org/jetbrains/kotlinx/animation/
DAnimation.kt10 import androidx.lifecycle.ViewModel in <lambda>()
64 class AnimationModel : ViewModel(), CoroutineScope {
/external/libtextclassifier/native/annotator/
Dannotator_test-include.h45 ValidateAndInitialize(libtextclassifier3::ViewModel(owned_buffer_.data(),
Dannotator.h585 const Model* ViewModel(const void* buffer, int size);
600 ViewModel(mmap.handle().start(), mmap.handle().num_bytes()); in VisitAnnotatorModel()
Dannotator_jni.cc445 const Model* model = libtextclassifier3::ViewModel( in GetLocalesFromMmap()
458 const Model* model = libtextclassifier3::ViewModel( in GetVersionFromMmap()
471 const Model* model = libtextclassifier3::ViewModel( in GetNameFromMmap()
Dannotator.cc3181 const Model* ViewModel(const void* buffer, int size) { in ViewModel() function