2021-07-24 02:37:17 +00:00
|
|
|
package androidx.lifecycle;
|
|
|
|
|
|
|
|
import androidx.annotation.MainThread;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-07-24 02:37:17 +00:00
|
|
|
/* compiled from: ViewModelProvider.kt */
|
|
|
|
public final class ViewModelProviderKt {
|
|
|
|
@MainThread
|
|
|
|
public static final /* synthetic */ <VM extends ViewModel> VM get(ViewModelProvider viewModelProvider) {
|
|
|
|
m.checkNotNullParameter(viewModelProvider, "$this$get");
|
|
|
|
m.reifiedOperationMarker(4, "VM");
|
|
|
|
VM vm = (VM) viewModelProvider.get(ViewModel.class);
|
|
|
|
m.checkNotNullExpressionValue(vm, "get(VM::class.java)");
|
|
|
|
return vm;
|
|
|
|
}
|
|
|
|
}
|