Searched refs:modelClass (Results 1 – 13 of 13) sorted by relevance
40 public static <T extends ViewModel> void add(Class<T> modelClass, T viewModel) { in add() argument41 VIEW_MODEL_MAP.put(modelClass, viewModel); in add()48 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument49 return (T) VIEW_MODEL_MAP.get(modelClass); in create()
50 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument51 if (!ProvisioningViewModel.class.isAssignableFrom(modelClass)) { in create()53 + "PreProvisioningViewModel: " + modelClass); in create()
102 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument103 if (!TermsViewModel.class.isAssignableFrom(modelClass)) { in create()105 + "TermsViewModel: " + modelClass); in create()
199 public <T extends ViewModel> T create(Class<T> modelClass) { in create() argument200 if (!PreProvisioningViewModel.class.isAssignableFrom(modelClass)) { in create()202 + "PreProvisioningViewModel: " + modelClass); in create()
55 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument
127 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument
88 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
64 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
231 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
237 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
821 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
1187 override fun <T : ViewModel> create(modelClass: Class<T>): T { in create()
179 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create() argument