CommentComponent.smali

.class public final Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;
.super Lsg/bigo/core/component/AbstractComponent;
.source "SourceFile"

# interfaces
.implements Lcom/imo/android/imoim/feeds/ui/detail/components/comment/d;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lsg/bigo/core/component/AbstractComponent<",
        "Lsg/bigo/core/mvp/presenter/a;",
        "Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;",
        "Lcom/imo/android/imoim/feeds/ui/detail/e;",
        ">;",
        "Lcom/imo/android/imoim/feeds/ui/detail/components/comment/d;"
    }
.end annotation


# instance fields
.field private a:Landroid/view/View;

.field private b:Z

.field private final c:Lsg/bigo/core/component/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lsg/bigo/core/component/c<",
            "+",
            "Lsg/bigo/core/component/c/a;",
            ">;"
        }
    .end annotation
.end field

.field private final d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;


# direct methods
.method public constructor <init>(Lsg/bigo/core/component/c;Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lsg/bigo/core/component/c<",
            "+",
            "Lsg/bigo/core/component/c/a;",
            ">;",
            "Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;",
            ")V"
        }
    .end annotation

    const-string v0, "help"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "videoActionProvider"

    invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 25
    invoke-direct {p0, p1}, Lsg/bigo/core/component/AbstractComponent;-><init>(Lsg/bigo/core/component/c;)V

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->c:Lsg/bigo/core/component/c;

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;)Lsg/bigo/core/component/b/d;
    .registers 1

    .line 24
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->g:Lsg/bigo/core/component/b/d;

    return-object p0
.end method


# virtual methods
.method public final J_()V
    .registers 4

    .line 55
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/KeyboardWatcherComponent;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->c:Lsg/bigo/core/component/c;

    invoke-direct {v0, v1}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/KeyboardWatcherComponent;-><init>(Lsg/bigo/core/component/c;)V

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/KeyboardWatcherComponent;->s()Lsg/bigo/core/component/AbstractComponent;

    .line 56
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/FixedCommentBarComponent;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->c:Lsg/bigo/core/component/c;

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;

    invoke-direct {v0, v1, v2}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/FixedCommentBarComponent;-><init>(Lsg/bigo/core/component/c;Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;)V

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/FixedCommentBarComponent;->s()Lsg/bigo/core/component/AbstractComponent;

    .line 57
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->c:Lsg/bigo/core/component/c;

    iget-object v2, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->d:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;

    invoke-direct {v0, v1, v2}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;-><init>(Lsg/bigo/core/component/c;Lcom/imo/android/imoim/feeds/ui/detail/components/comment/g;)V

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/EditCommentComponent;->s()Lsg/bigo/core/component/AbstractComponent;

    .line 58
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/CommentPanelComponent;

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->c:Lsg/bigo/core/component/c;

    invoke-direct {v0, v1}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/CommentPanelComponent;-><init>(Lsg/bigo/core/component/c;)V

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/commentPanel/CommentPanelComponent;->s()Lsg/bigo/core/component/AbstractComponent;

    return-void
.end method

.method public final synthetic a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
    .registers 3

    .line 24
    check-cast p1, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;

    .line 2048
    sget-object p2, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a$a;

    .line 3017
    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;->a()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;

    move-result-object p2

    .line 2048
    invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_47

    .line 3062
    iget-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->b:Z

    if-nez p1, :cond_47

    .line 3065
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->h:Lsg/bigo/core/component/c/a;

    check-cast p1, Lcom/imo/android/imoim/feeds/ui/detail/e;

    const p2, 0x7e0801ef

    invoke-interface {p1, p2}, Lcom/imo/android/imoim/feeds/ui/detail/e;->a(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/view/ViewStub;

    .line 3066
    invoke-static {p1}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/view/ViewStub;)Landroid/view/View;

    .line 3067
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->h:Lsg/bigo/core/component/c/a;

    check-cast p1, Lcom/imo/android/imoim/feeds/ui/detail/e;

    const p2, 0x7e080163

    invoke-interface {p1, p2}, Lcom/imo/android/imoim/feeds/ui/detail/e;->a(I)Landroid/view/View;

    move-result-object p1

    new-instance p2, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent$a;

    invoke-direct {p2, p0}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent$a;-><init>(Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;)V

    check-cast p2, Landroid/view/View$OnClickListener;

    invoke-virtual {p1, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 3079
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->h:Lsg/bigo/core/component/c/a;

    check-cast p1, Lcom/imo/android/imoim/feeds/ui/detail/e;

    const p2, 0x7e080041

    invoke-interface {p1, p2}, Lcom/imo/android/imoim/feeds/ui/detail/e;->a(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->a:Landroid/view/View;

    const/4 p1, 0x1

    .line 3080
    iput-boolean p1, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->b:Z

    :cond_47
    return-void
.end method

.method public final a(Lsg/bigo/core/component/b/c;)V
    .registers 3

    const-string v0, "iComponentManager"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 39
    const-class v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/d;

    invoke-interface {p1, v0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;)V

    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 4

    const-string v0, "iComponentManager"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 43
    const-class v0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/d;

    move-object v1, p0

    check-cast v1, Lsg/bigo/core/component/b/b;

    invoke-interface {p1, v0, v1}, 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()Z
    .registers 2

    .line 84
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/CommentComponent;->a:Landroid/view/View;

    if-eqz v0, :cond_c

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_c

    const/4 v0, 0x1

    return v0

    :cond_c
    const/4 v0, 0x0

    return v0
.end method

.method public final synthetic u()[Lsg/bigo/core/component/a/b;
    .registers 4

    const/4 v0, 0x1

    new-array v0, v0, [Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;

    .line 1035
    sget-object v1, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;->a:Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a$a;

    .line 2017
    invoke-static {}, Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;->a()Lcom/imo/android/imoim/feeds/ui/detail/components/comment/a;

    move-result-object v1

    const/4 v2, 0x0

    aput-object v1, v0, v2

    .line 24
    check-cast v0, [Lsg/bigo/core/component/a/b;

    return-object v0
.end method