HeadContentComponent.smali

.class public final Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;
.super Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;
.source "SourceFile"

# interfaces
.implements Lcom/imo/android/imoim/voiceroom/feeds/compoment/c;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent<",
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/c;",
        ">;",
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/c;"
    }
.end annotation


# static fields
.field static final synthetic d:[Lkotlin/k/g;


# instance fields
.field public e:Lcom/imo/android/imoim/voiceroom/feeds/b/a;

.field private f:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private j:Lcom/imo/android/imoim/fresco/XCircleImageView;

.field private final k:Lkotlin/f;


# direct methods
.method static constructor <clinit>()V
    .registers 5

    const/4 v0, 0x1

    new-array v0, v0, [Lkotlin/k/g;

    new-instance v1, Lkotlin/f/b/z;

    const-class v2, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v2

    const-string v3, "feedVRViewModel"

    const-string v4, "getFeedVRViewModel()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;"

    invoke-direct {v1, v2, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v1}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v1

    check-cast v1, Lkotlin/k/g;

    const/4 v2, 0x0

    aput-object v1, v0, v2

    sput-object v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->d:[Lkotlin/k/g;

    return-void
.end method

.method public constructor <init>(Lcom/imo/android/core/component/c;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/imo/android/core/component/c<",
            "*>;)V"
        }
    .end annotation

    const-string v0, "help"

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

    .line 27
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;-><init>(Lcom/imo/android/core/component/c;)V

    .line 36
    new-instance p1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$a;

    invoke-direct {p1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$a;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)V

    check-cast p1, Lkotlin/f/a/a;

    invoke-static {p1}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p1

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->k:Lkotlin/f;

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)V
    .registers 10

    .line 2071
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->a_:Lcom/imo/android/core/component/c/a;

    const-string v1, "mActivityServiceWrapper"

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

    check-cast v0, Lcom/imo/android/core/a/b;

    invoke-interface {v0}, Lcom/imo/android/core/a/b;->c()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    .line 2072
    sget-object v2, Lcom/imo/android/imoim/world/stats/reporter/jumppage/category/a/b;->a:Lcom/imo/android/imoim/world/stats/reporter/jumppage/category/a/b;

    sget-object v2, Lcom/imo/android/imoim/world/fulldetail/e;->a:Lcom/imo/android/imoim/world/fulldetail/e;

    invoke-static {}, Lcom/imo/android/imoim/world/fulldetail/e;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/imo/android/imoim/world/stats/reporter/jumppage/category/a/b;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_1d

    const-string v2, "other"

    :cond_1d
    move-object v8, v2

    if-eqz v0, :cond_4c

    .line 2074
    invoke-virtual {v0}, Landroidx/fragment/app/FragmentActivity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_4c

    .line 2075
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->m()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;

    move-result-object v3

    .line 2076
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->a_:Lcom/imo/android/core/component/c/a;

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

    check-cast v0, Lcom/imo/android/core/a/b;

    invoke-interface {v0}, Lcom/imo/android/core/a/b;->c()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const-string v1, "mActivityServiceWrapper.context"

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

    move-object v4, v0

    check-cast v4, Landroid/content/Context;

    .line 3023
    iget-object v5, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->c:Ljava/lang/String;

    .line 4022
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->b:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;

    if-eqz p0, :cond_46

    .line 4072
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;->b:Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;

    goto :goto_47

    :cond_46
    const/4 p0, 0x0

    :goto_47
    move-object v6, p0

    move-object v7, v8

    .line 2075
    invoke-virtual/range {v3 .. v8}, Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;->a(Landroid/content/Context;Ljava/lang/String;Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;Ljava/lang/String;Ljava/lang/String;)V

    :cond_4c
    return-void
.end method

.method public static final synthetic b(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)Lcom/imo/android/imoim/voiceroom/feeds/b/a;
    .registers 1

    .line 26
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->e:Lcom/imo/android/imoim/voiceroom/feeds/b/a;

    return-object p0
.end method

.method public static final synthetic c(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)Landroid/widget/TextView;
    .registers 2

    .line 26
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->f:Landroid/widget/TextView;

    if-nez p0, :cond_9

    const-string v0, "tvVRName"

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

    :cond_9
    return-object p0
.end method

.method public static final synthetic d(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)Landroid/widget/TextView;
    .registers 2

    .line 26
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->h:Landroid/widget/TextView;

    if-nez p0, :cond_9

    const-string v0, "tvOnlineNum"

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

    :cond_9
    return-object p0
.end method

.method public static final synthetic e(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)Landroid/widget/TextView;
    .registers 2

    .line 26
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->i:Landroid/widget/TextView;

    if-nez p0, :cond_9

    const-string v0, "tvOwnerName"

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

    :cond_9
    return-object p0
.end method

.method public static final synthetic f(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)Lcom/imo/android/imoim/fresco/XCircleImageView;
    .registers 2

    .line 26
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->j:Lcom/imo/android/imoim/fresco/XCircleImageView;

    if-nez p0, :cond_9

    const-string v0, "ivOwnerIcon"

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

    :cond_9
    return-object p0
.end method

.method private final m()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;
    .registers 2

    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->k:Lkotlin/f;

    invoke-interface {v0}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;

    return-object v0
.end method


# virtual methods
.method public final a(Landroid/view/View;)V
    .registers 4

    const-string v0, "view"

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

    const v0, 0x7f091490

    .line 41
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.tv_vr_content_name)"

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

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->f:Landroid/widget/TextView;

    const v0, 0x7f091491

    .line 42
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.tv_vr_content_num)"

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

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->h:Landroid/widget/TextView;

    const v0, 0x7f090a1e

    .line 43
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.iv_vr_content_owner_name)"

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

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->i:Landroid/widget/TextView;

    const v0, 0x7f090a1d

    .line 44
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    const-string v0, "view.findViewById(R.id.iv_vr_content_owner_icon)"

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

    check-cast p1, Lcom/imo/android/imoim/fresco/XCircleImageView;

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->j:Lcom/imo/android/imoim/fresco/XCircleImageView;

    if-nez p1, :cond_4c

    const-string v0, "ivOwnerIcon"

    .line 45
    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_4c
    new-instance v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$d;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$d;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)V

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

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/fresco/XCircleImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 1055
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->m()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;

    move-result-object p1

    .line 2046
    iget-object p1, p1, Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;->a:Landroidx/lifecycle/LiveData;

    .line 1055
    move-object v0, p0

    check-cast v0, Landroidx/lifecycle/LifecycleOwner;

    new-instance v1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$b;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$b;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)V

    check-cast v1, Landroidx/lifecycle/Observer;

    invoke-virtual {p1, v0, v1}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    .line 1060
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;->m()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;

    move-result-object p1

    .line 2054
    iget-object p1, p1, Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;->c:Landroidx/lifecycle/LiveData;

    .line 1060
    new-instance v1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$c;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent$c;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/HeadContentComponent;)V

    check-cast v1, Landroidx/lifecycle/Observer;

    invoke-virtual {p1, v0, v1}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    return-void
.end method

.method public final d()Ljava/lang/Class;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class<",
            "Lcom/imo/android/imoim/voiceroom/feeds/compoment/c;",
            ">;"
        }
    .end annotation

    .line 96
    const-class v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/c;

    return-object v0
.end method

.method public final k()V
    .registers 1

    return-void
.end method

.method public final l()V
    .registers 1

    return-void
.end method