2020-11-12 02:11:44 +00:00
|
|
|
.class public final Landroidx/lifecycle/LiveDataKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "LiveData.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static final observe(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function1;)Landroidx/lifecycle/Observer;
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.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
|
|
|
|
|
|
|
|
const-string v0, "$this$observe"
|
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-static {p0, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const-string v0, "owner"
|
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-static {p1, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const-string v0, "onChanged"
|
|
|
|
|
2020-11-16 22:05:17 +00:00
|
|
|
invoke-static {p2, v0}, Ly/m/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|