mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
39 lines
2.2 KiB
Java
39 lines
2.2 KiB
Java
package androidx.fragment.app;
|
|
|
|
import androidx.lifecycle.HasDefaultViewModelProviderFactory;
|
|
import androidx.lifecycle.ViewModelStoreOwner;
|
|
import androidx.lifecycle.viewmodel.CreationExtras;
|
|
import kotlin.Lazy;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.internal.Lambda;
|
|
|
|
/* compiled from: FragmentViewModelLazy.kt */
|
|
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001\"\n\b\u0000\u0010\u0002\u0018\u0001*\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "Landroidx/lifecycle/viewmodel/CreationExtras;", "VM", "Landroidx/lifecycle/ViewModel;", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 176)
|
|
/* loaded from: classes2.dex */
|
|
public final class FragmentViewModelLazyKt$viewModels$7 extends Lambda implements Function0<CreationExtras> {
|
|
final /* synthetic */ Function0<CreationExtras> $extrasProducer;
|
|
final /* synthetic */ Lazy<ViewModelStoreOwner> $owner$delegate;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public FragmentViewModelLazyKt$viewModels$7(Function0<? extends CreationExtras> function0, Lazy<? extends ViewModelStoreOwner> lazy) {
|
|
super(0);
|
|
this.$extrasProducer = function0;
|
|
this.$owner$delegate = lazy;
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // kotlin.jvm.functions.Function0
|
|
public final CreationExtras invoke() {
|
|
ViewModelStoreOwner m5178viewModels$lambda1;
|
|
CreationExtras invoke;
|
|
Function0<CreationExtras> function0 = this.$extrasProducer;
|
|
if (function0 != null && (invoke = function0.invoke()) != null) {
|
|
return invoke;
|
|
}
|
|
m5178viewModels$lambda1 = FragmentViewModelLazyKt.m5178viewModels$lambda1(this.$owner$delegate);
|
|
HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactory = m5178viewModels$lambda1 instanceof HasDefaultViewModelProviderFactory ? (HasDefaultViewModelProviderFactory) m5178viewModels$lambda1 : null;
|
|
return hasDefaultViewModelProviderFactory != null ? hasDefaultViewModelProviderFactory.getDefaultViewModelCreationExtras() : CreationExtras.Empty.INSTANCE;
|
|
}
|
|
}
|