LoadingPresenter.smali
.class public Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;
.super Lsg/bigo/core/mvp/presenter/BasePresenterImpl;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lsg/bigo/core/mvp/presenter/BasePresenterImpl<",
"Lsg/bigo/live/support64/component/roomwidget/loading/mvp/a/a;",
"Lsg/bigo/live/support64/component/roomwidget/loading/mvp/model/a;",
">;",
"Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/a;"
}
.end annotation
# instance fields
.field private d:Lsg/bigo/live/support64/h;
# direct methods
.method public constructor <init>(Lsg/bigo/live/support64/component/roomwidget/loading/mvp/a/a;)V
.registers 8
.line 52
invoke-direct {p0, p1}, Lsg/bigo/core/mvp/presenter/BasePresenterImpl;-><init>(Lsg/bigo/core/mvp/a/a;)V
.line 24
new-instance p1, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter$1;
invoke-direct {p1, p0}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter$1;-><init>(Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;)V
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->d:Lsg/bigo/live/support64/h;
.line 53
new-instance p1, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/model/LoadingModel;
invoke-virtual {p0}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->getLifecycle()Landroidx/lifecycle/Lifecycle;
move-result-object v0
invoke-direct {p1, v0, p0}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/model/LoadingModel;-><init>(Landroidx/lifecycle/Lifecycle;Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/a;)V
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->b:Lsg/bigo/core/mvp/mode/a;
.line 54
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object p1
invoke-virtual {p1}, Lsg/bigo/live/support64/o;->n()J
move-result-wide v1
const/4 v3, 0x1
const-wide/16 v4, 0x0
move-object v0, p0
invoke-direct/range {v0 .. v5}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a(JZJ)V
.line 55
invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;
move-result-object p1
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->d:Lsg/bigo/live/support64/h;
invoke-interface {p1, v0}, Lsg/bigo/live/support64/m;->a(Lsg/bigo/live/support64/h;)V
return-void
.end method
.method private synthetic a(JLsg/bigo/live/support64/userinfo/UserInfoStruct;)V
.registers 10
if-eqz p3, :cond_1e
.line 105
iget-object p3, p3, Lsg/bigo/live/support64/userinfo/UserInfoStruct;->c:Ljava/lang/String;
invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p3
if-nez p3, :cond_1e
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object p3
invoke-virtual {p3}, Lsg/bigo/live/support64/o;->n()J
move-result-wide v0
cmp-long p3, p1, v0
if-nez p3, :cond_1e
const/4 v3, 0x0
const-wide/16 v4, 0x0
move-object v0, p0
move-wide v1, p1
.line 106
invoke-direct/range {v0 .. v5}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a(JZJ)V
:cond_1e
return-void
.end method
.method private synthetic a(JZ)V
.registers 8
.line 73
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a:Lsg/bigo/core/mvp/a/a;
if-eqz v0, :cond_99
.line 74
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v0
invoke-virtual {v0}, Lsg/bigo/live/support64/o;->z()Z
move-result v0
if-eqz v0, :cond_92
.line 76
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v0
invoke-virtual {v0}, Lsg/bigo/live/support64/o;->n()J
move-result-wide v0
cmp-long v2, p1, v0
if-nez v2, :cond_99
const/4 v0, 0x0
.line 78
invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;
move-result-object v1
invoke-interface {v1}, Lsg/bigo/live/support64/m;->t()Z
move-result v1
if-nez v1, :cond_30
.line 79
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v1
invoke-virtual {v1}, Lsg/bigo/live/support64/o;->t()Z
move-result v1
if-nez v1, :cond_30
const/4 v0, 0x1
:cond_30
if-eqz v0, :cond_92
.line 84
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v0
invoke-virtual {v0}, Lsg/bigo/live/support64/o;->o()J
move-result-wide v0
.line 2058
invoke-static {}, Lsg/bigo/live/support64/userinfo/a$a;->a()Lsg/bigo/live/support64/userinfo/a;
move-result-object v2
.line 85
invoke-virtual {v2, v0, v1}, Lsg/bigo/live/support64/userinfo/a;->a(J)Lsg/bigo/live/support64/userinfo/UserInfoStruct;
move-result-object v2
if-nez v2, :cond_47
const-string v2, ""
goto :goto_49
.line 86
:cond_47
iget-object v2, v2, Lsg/bigo/live/support64/userinfo/UserInfoStruct;->c:Ljava/lang/String;
.line 87
:goto_49
iget-object v3, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast v3, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/a/a;
invoke-interface {v3, v2}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/a/a;->a(Ljava/lang/String;)V
.line 88
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_91
if-eqz p3, :cond_91
.line 2100
new-instance p3, Ljava/lang/StringBuilder;
const-string v2, "fetchHeadUrl roomId -> "
invoke-direct {p3, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v2
invoke-virtual {v2}, Lsg/bigo/live/support64/o;->n()J
move-result-wide v2
invoke-virtual {p3, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v2, ", ownerUid -> "
invoke-virtual {p3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p3, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p3
const-string v2, "LoadingPresenter"
invoke-static {v2, p3}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 2101
iget-object p3, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->b:Lsg/bigo/core/mvp/mode/a;
if-eqz p3, :cond_91
.line 2104
iget-object p3, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->b:Lsg/bigo/core/mvp/mode/a;
check-cast p3, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/model/a;
invoke-interface {p3, v0, v1}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/model/a;->a(J)Lrx/c;
move-result-object p3
new-instance v0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/-$$Lambda$LoadingPresenter$2XUN9kGkPlH6AtV2sgmspTSfOoM;
invoke-direct {v0, p0, p1, p2}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/-$$Lambda$LoadingPresenter$2XUN9kGkPlH6AtV2sgmspTSfOoM;-><init>(Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;J)V
sget-object p1, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/-$$Lambda$LoadingPresenter$j4WWOYN868kigwBoifgD2-CoNjE;->INSTANCE:Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/-$$Lambda$LoadingPresenter$j4WWOYN868kigwBoifgD2-CoNjE;
invoke-virtual {p3, v0, p1}, Lrx/c;->a(Lrx/b/b;Lrx/b/b;)Lrx/j;
:cond_91
return-void
.line 92
:cond_92
iget-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a:Lsg/bigo/core/mvp/a/a;
check-cast p1, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/a/a;
invoke-interface {p1}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/a/a;->c()V
:cond_99
return-void
.end method
.method private a(JZJ)V
.registers 7
.line 72
new-instance v0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/-$$Lambda$LoadingPresenter$VI5KjxpYJmj_4lesyhwwTCXJdxk;
invoke-direct {v0, p0, p1, p2, p3}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/-$$Lambda$LoadingPresenter$VI5KjxpYJmj_4lesyhwwTCXJdxk;-><init>(Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;JZ)V
invoke-static {v0, p4, p5}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;J)V
return-void
.end method
.method private static synthetic a(Ljava/lang/Throwable;)V
.registers 1
return-void
.end method
.method static synthetic a(Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;J)V
.registers 9
const/4 v3, 0x1
const-wide/16 v4, 0x1f4
move-object v0, p0
move-wide v1, p1
.line 19
invoke-direct/range {v0 .. v5}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a(JZJ)V
return-void
.end method
.method public static synthetic lambda$2XUN9kGkPlH6AtV2sgmspTSfOoM(Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;JLsg/bigo/live/support64/userinfo/UserInfoStruct;)V
.registers 4
invoke-direct {p0, p1, p2, p3}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a(JLsg/bigo/live/support64/userinfo/UserInfoStruct;)V
return-void
.end method
.method public static synthetic lambda$VI5KjxpYJmj_4lesyhwwTCXJdxk(Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;JZ)V
.registers 4
invoke-direct {p0, p1, p2, p3}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a(JZ)V
return-void
.end method
.method public static synthetic lambda$j4WWOYN868kigwBoifgD2-CoNjE(Ljava/lang/Throwable;)V
.registers 1
invoke-static {p0}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a(Ljava/lang/Throwable;)V
return-void
.end method
# virtual methods
.method public final a(J)V
.registers 9
const/4 v3, 0x1
const-wide/16 v4, 0x0
move-object v0, p0
move-wide v1, p1
.line 1068
invoke-direct/range {v0 .. v5}, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->a(JZJ)V
return-void
.end method
.method public final e()V
.registers 3
.line 59
invoke-super {p0}, Lsg/bigo/core/mvp/presenter/BasePresenterImpl;->e()V
.line 60
invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;
move-result-object v0
iget-object v1, p0, Lsg/bigo/live/support64/component/roomwidget/loading/mvp/presenter/LoadingPresenter;->d:Lsg/bigo/live/support64/h;
invoke-interface {v0, v1}, Lsg/bigo/live/support64/m;->b(Lsg/bigo/live/support64/h;)V
return-void
.end method