e$b.smali
.class final Lsg/bigo/arch/mvvm/e$b;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/lifecycle/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/arch/mvvm/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Landroidx/lifecycle/Observer<",
"TT;>;"
}
.end annotation
# instance fields
.field a:Z
.field private final b:Landroidx/lifecycle/Observer;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/Observer<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Landroidx/lifecycle/Observer;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/lifecycle/Observer<",
"TT;>;)V"
}
.end annotation
const-string v0, "observer"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 206
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lsg/bigo/arch/mvvm/e$b;->b:Landroidx/lifecycle/Observer;
return-void
.end method
# virtual methods
.method public final onChanged(Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 210
iget-boolean v0, p0, Lsg/bigo/arch/mvvm/e$b;->a:Z
if-eqz v0, :cond_8
const/4 p1, 0x0
.line 211
iput-boolean p1, p0, Lsg/bigo/arch/mvvm/e$b;->a:Z
return-void
.line 214
:cond_8
sget-object v0, Lsg/bigo/arch/mvvm/e;->a:Lsg/bigo/arch/mvvm/e;
new-instance v0, Lsg/bigo/arch/mvvm/e$b$a;
invoke-direct {v0, p1}, Lsg/bigo/arch/mvvm/e$b$a;-><init>(Ljava/lang/Object;)V
check-cast v0, Lkotlin/f/a/a;
invoke-static {v0}, Lsg/bigo/arch/mvvm/e;->a(Lkotlin/f/a/a;)V
.line 216
:try_start_14
iget-object v0, p0, Lsg/bigo/arch/mvvm/e$b;->b:Landroidx/lifecycle/Observer;
invoke-interface {v0, p1}, Landroidx/lifecycle/Observer;->onChanged(Ljava/lang/Object;)V
:try_end_19
.catch Ljava/lang/ClassCastException; {:try_start_14 .. :try_end_19} :catch_33
.catch Ljava/lang/Exception; {:try_start_14 .. :try_end_19} :catch_1a
return-void
:catch_1a
move-exception v0
.line 221
sget-object v1, Lsg/bigo/arch/mvvm/e;->a:Lsg/bigo/arch/mvvm/e;
invoke-static {}, Lsg/bigo/arch/mvvm/e;->d()Z
move-result v1
if-nez v1, :cond_30
.line 222
sget-object v0, Lsg/bigo/arch/mvvm/e;->a:Lsg/bigo/arch/mvvm/e;
new-instance v0, Lsg/bigo/arch/mvvm/e$b$c;
invoke-direct {v0, p1}, Lsg/bigo/arch/mvvm/e$b$c;-><init>(Ljava/lang/Object;)V
check-cast v0, Lkotlin/f/a/a;
invoke-static {v0}, Lsg/bigo/arch/mvvm/e;->a(Lkotlin/f/a/a;)V
return-void
.line 221
:cond_30
check-cast v0, Ljava/lang/Throwable;
throw v0
:catch_33
move-exception v0
.line 218
sget-object v1, Lsg/bigo/arch/mvvm/e;->a:Lsg/bigo/arch/mvvm/e;
invoke-static {}, Lsg/bigo/arch/mvvm/e;->d()Z
move-result v1
if-nez v1, :cond_49
.line 219
sget-object v0, Lsg/bigo/arch/mvvm/e;->a:Lsg/bigo/arch/mvvm/e;
new-instance v0, Lsg/bigo/arch/mvvm/e$b$b;
invoke-direct {v0, p1}, Lsg/bigo/arch/mvvm/e$b$b;-><init>(Ljava/lang/Object;)V
check-cast v0, Lkotlin/f/a/a;
invoke-static {v0}, Lsg/bigo/arch/mvvm/e;->a(Lkotlin/f/a/a;)V
return-void
.line 218
:cond_49
check-cast v0, Ljava/lang/Throwable;
throw v0
.end method