Rabbit-R1/original r1/smali/smali_classes2/androidx/lifecycle/LiveDataKt.smali
2024-05-21 17:08:36 -04:00

80 lines
2.8 KiB
Smali

.class public final Landroidx/lifecycle/LiveDataKt;
.super Ljava/lang/Object;
.source "LiveData.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u001e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\u001a@\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0014\u0008\u0004\u0010\u0006\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00080\u0007H\u0087\u0008\u00f8\u0001\u0000\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\t"
}
d2 = {
"observe",
"Landroidx/lifecycle/Observer;",
"T",
"Landroidx/lifecycle/LiveData;",
"owner",
"Landroidx/lifecycle/LifecycleOwner;",
"onChanged",
"Lkotlin/Function1;",
"",
"lifecycle-livedata-core-ktx_release"
}
k = 0x2
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method public static final observe(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function1;)Landroidx/lifecycle/Observer;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/lifecycle/LiveData<",
"TT;>;",
"Landroidx/lifecycle/LifecycleOwner;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Lkotlin/Unit;",
">;)",
"Landroidx/lifecycle/Observer<",
"TT;>;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
message = "This extension method is not required when using Kotlin 1.4. You should remove \"import androidx.lifecycle.observe\""
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "owner"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "onChanged"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 51
new-instance v0, Landroidx/lifecycle/LiveDataKt$observe$wrappedObserver$1;
invoke-direct {v0, p2}, Landroidx/lifecycle/LiveDataKt$observe$wrappedObserver$1;-><init>(Lkotlin/jvm/functions/Function1;)V
check-cast v0, Landroidx/lifecycle/Observer;
.line 52
invoke-virtual {p0, p1, v0}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
return-object v0
.end method