TipsComponent.smali
.class public Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;
.super Lsg/bigo/core/component/AbstractComponent;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/live/support64/component/roomwidget/tips/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lsg/bigo/core/component/AbstractComponent<",
"Lsg/bigo/core/mvp/presenter/a;",
"Lsg/bigo/live/support64/component/a/a;",
"Lsg/bigo/live/support64/component/a;",
">;",
"Lsg/bigo/live/support64/component/roomwidget/tips/a;"
}
.end annotation
# instance fields
.field private a:Ljava/lang/String;
.field private b:Lsg/bigo/live/support64/web/CommonWebDialog;
.field private c:Lsg/bigo/live/support64/web/CommonWebDialog$b;
.field private d:Landroid/view/View;
# direct methods
.method public constructor <init>(Lsg/bigo/core/component/c;)V
.registers 2
.line 42
invoke-direct {p0, p1}, Lsg/bigo/core/component/AbstractComponent;-><init>(Lsg/bigo/core/component/c;)V
.line 35
new-instance p1, Lsg/bigo/live/support64/component/roomwidget/tips/-$$Lambda$TipsComponent$H3TgYGrUxv01Q07Lq4FC9Qfa2HE;
invoke-direct {p1, p0}, Lsg/bigo/live/support64/component/roomwidget/tips/-$$Lambda$TipsComponent$H3TgYGrUxv01Q07Lq4FC9Qfa2HE;-><init>(Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;)V
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->c:Lsg/bigo/live/support64/web/CommonWebDialog$b;
return-void
.end method
.method private synthetic a(Landroid/view/View;)V
.registers 4
.line 2097
iget-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->b:Lsg/bigo/live/support64/web/CommonWebDialog;
if-nez p1, :cond_2b
.line 2098
new-instance p1, Lsg/bigo/live/support64/web/CommonWebDialog$a;
invoke-direct {p1}, Lsg/bigo/live/support64/web/CommonWebDialog$a;-><init>()V
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->a:Ljava/lang/String;
.line 2624
iput-object v0, p1, Lsg/bigo/live/support64/web/CommonWebDialog$a;->a:Ljava/lang/String;
const/4 v0, 0x0
.line 2648
iput v0, p1, Lsg/bigo/live/support64/web/CommonWebDialog$a;->e:I
.line 2658
iput v0, p1, Lsg/bigo/live/support64/web/CommonWebDialog$a;->f:I
.line 2101
invoke-virtual {p1}, Lsg/bigo/live/support64/web/CommonWebDialog$a;->a()Lsg/bigo/live/support64/web/CommonWebDialog;
move-result-object p1
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->b:Lsg/bigo/live/support64/web/CommonWebDialog;
.line 2102
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->c:Lsg/bigo/live/support64/web/CommonWebDialog$b;
.line 3601
iput-object v0, p1, Lsg/bigo/live/support64/web/CommonWebDialog;->i:Lsg/bigo/live/support64/web/CommonWebDialog$b;
.line 2103
iget-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->b:Lsg/bigo/live/support64/web/CommonWebDialog;
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v0, Lsg/bigo/live/support64/component/a;
invoke-interface {v0}, Lsg/bigo/live/support64/component/a;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
move-result-object v0
const-string v1, "dialog_living_activity_web"
invoke-virtual {p1, v0, v1}, Lsg/bigo/live/support64/web/CommonWebDialog;->show(Landroidx/fragment/app/FragmentManager;Ljava/lang/String;)V
:cond_2b
return-void
.end method
.method private synthetic a(Z)V
.registers 3
.line 36
iget-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->b:Lsg/bigo/live/support64/web/CommonWebDialog;
const/4 v0, 0x0
.line 4601
iput-object v0, p1, Lsg/bigo/live/support64/web/CommonWebDialog;->i:Lsg/bigo/live/support64/web/CommonWebDialog$b;
.line 37
iput-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->b:Lsg/bigo/live/support64/web/CommonWebDialog;
return-void
.end method
.method private e()V
.registers 3
.line 113
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->d:Landroid/view/View;
if-nez v0, :cond_17
.line 114
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v0, Lsg/bigo/live/support64/component/a;
const v1, 0x7d08042c
invoke-interface {v0, v1}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/view/ViewStub;
.line 115
invoke-static {v0}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/view/ViewStub;)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->d:Landroid/view/View;
.line 117
:cond_17
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->d:Landroid/view/View;
if-nez v0, :cond_1c
return-void
:cond_1c
const/16 v1, 0x8
.line 120
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 121
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;->u()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_5e
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v0, Lsg/bigo/live/support64/component/a;
.line 122
invoke-interface {v0}, Lsg/bigo/live/support64/component/a;->l()Landroid/app/Activity;
move-result-object v0
invoke-virtual {v0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;
move-result-object v0
const-string v1, "start_live_community"
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_5e
.line 123
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->d:Landroid/view/View;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 124
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;->B()Z
move-result v0
if-eqz v0, :cond_5e
.line 125
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->d:Landroid/view/View;
new-instance v1, Lsg/bigo/live/support64/component/roomwidget/tips/-$$Lambda$TipsComponent$91dwqjNl9jMYYKvHx78S-gdRw4A;
invoke-direct {v1, p0}, Lsg/bigo/live/support64/component/roomwidget/tips/-$$Lambda$TipsComponent$91dwqjNl9jMYYKvHx78S-gdRw4A;-><init>(Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;)V
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
:cond_5e
return-void
.end method
.method public static synthetic lambda$91dwqjNl9jMYYKvHx78S-gdRw4A(Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;Landroid/view/View;)V
.registers 2
invoke-direct {p0, p1}, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->a(Landroid/view/View;)V
return-void
.end method
.method public static synthetic lambda$H3TgYGrUxv01Q07Lq4FC9Qfa2HE(Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;Z)V
.registers 2
invoke-direct {p0, p1}, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->a(Z)V
return-void
.end method
# virtual methods
.method public final J_()V
.registers 1
return-void
.end method
.method public final synthetic a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
.registers 3
.line 29
check-cast p1, Lsg/bigo/live/support64/component/a/a;
.line 2080
sget-object p2, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_END:Lsg/bigo/live/support64/component/a/a;
if-ne p1, p2, :cond_d
.line 2081
iget-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->b:Lsg/bigo/live/support64/web/CommonWebDialog;
if-eqz p1, :cond_d
.line 2082
invoke-virtual {p1}, Lsg/bigo/live/support64/web/CommonWebDialog;->dismiss()V
:cond_d
return-void
.end method
.method public final a(Lsg/bigo/core/component/b/c;)V
.registers 3
.line 75
const-class v0, Lsg/bigo/live/support64/component/roomwidget/tips/a;
invoke-interface {p1, v0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;)V
return-void
.end method
.method public final a(Lsg/bigo/live/support64/bus/proto/roomlist/RoomInfo;)V
.registers 2
return-void
.end method
.method public final b()V
.registers 1
return-void
.end method
.method public final b(Lsg/bigo/core/component/b/c;)V
.registers 3
.line 70
const-class v0, Lsg/bigo/live/support64/component/roomwidget/tips/a;
invoke-interface {p1, v0, p0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;Lsg/bigo/core/component/b/b;)V
return-void
.end method
.method public final c()V
.registers 3
.line 1052
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v0, Lsg/bigo/live/support64/component/a;
invoke-interface {v0}, Lsg/bigo/live/support64/component/a;->getComponent()Lsg/bigo/core/component/b/d;
move-result-object v0
const-class v1, Lsg/bigolive/revenue64/component/conncetion/a;
invoke-interface {v0, v1}, Lsg/bigo/core/component/b/d;->b(Ljava/lang/Class;)Lsg/bigo/core/component/b/b;
move-result-object v0
check-cast v0, Lsg/bigolive/revenue64/component/conncetion/a;
if-eqz v0, :cond_1c
.line 1054
invoke-interface {v0}, Lsg/bigolive/revenue64/component/conncetion/a;->d()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lsg/bigo/bigohttp/a/c;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->a:Ljava/lang/String;
.line 48
:cond_1c
invoke-direct {p0}, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->e()V
return-void
.end method
.method public final d()V
.registers 1
.line 109
invoke-direct {p0}, Lsg/bigo/live/support64/component/roomwidget/tips/TipsComponent;->e()V
return-void
.end method
.method public final bridge synthetic u()[Lsg/bigo/core/component/a/b;
.registers 4
const/4 v0, 0x1
new-array v0, v0, [Lsg/bigo/live/support64/component/a/a;
.line 1090
sget-object v1, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_END:Lsg/bigo/live/support64/component/a/a;
const/4 v2, 0x0
aput-object v1, v0, v2
return-object v0
.end method