mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 17:12:31 -06:00
28 lines
2 KiB
Java
28 lines
2 KiB
Java
|
package androidx.lifecycle;
|
||
|
|
||
|
import androidx.core.app.NotificationCompat;
|
||
|
import androidx.lifecycle.Lifecycle;
|
||
|
import io.sentry.protocol.TransactionInfo;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
|
||
|
/* compiled from: SingleGeneratedAdapterObserver.kt */
|
||
|
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0000\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Landroidx/lifecycle/SingleGeneratedAdapterObserver;", "Landroidx/lifecycle/LifecycleEventObserver;", "generatedAdapter", "Landroidx/lifecycle/GeneratedAdapter;", "(Landroidx/lifecycle/GeneratedAdapter;)V", "onStateChanged", "", TransactionInfo.JsonKeys.SOURCE, "Landroidx/lifecycle/LifecycleOwner;", NotificationCompat.CATEGORY_EVENT, "Landroidx/lifecycle/Lifecycle$Event;", "lifecycle-common"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class SingleGeneratedAdapterObserver implements LifecycleEventObserver {
|
||
|
private final GeneratedAdapter generatedAdapter;
|
||
|
|
||
|
public SingleGeneratedAdapterObserver(GeneratedAdapter generatedAdapter) {
|
||
|
Intrinsics.checkNotNullParameter(generatedAdapter, "generatedAdapter");
|
||
|
this.generatedAdapter = generatedAdapter;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.lifecycle.LifecycleEventObserver
|
||
|
public void onStateChanged(LifecycleOwner source, Lifecycle.Event event) {
|
||
|
Intrinsics.checkNotNullParameter(source, "source");
|
||
|
Intrinsics.checkNotNullParameter(event, "event");
|
||
|
this.generatedAdapter.callMethods(source, event, false, null);
|
||
|
this.generatedAdapter.callMethods(source, event, true, null);
|
||
|
}
|
||
|
}
|