MicSeatComponent.smali

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

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


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent<",
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/d;",
        ">;",
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/d;"
    }
.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:Landroidx/recyclerview/widget/RecyclerView;

.field private final h:Lkotlin/f;

.field private final i:Lkotlin/f;


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

    const-class v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;

    const/4 v1, 0x2

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

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

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

    move-result-object v3

    const-string v4, "micSeatAdapter"

    const-string v5, "getMicSeatAdapter()Lcom/imo/android/imoim/voiceroom/feeds/adapter/FeedsMicSeatAdapter;"

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

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

    move-result-object v2

    check-cast v2, Lkotlin/k/g;

    const/4 v3, 0x0

    aput-object v2, v1, v3

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

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

    move-result-object v0

    const-string v3, "feedVRViewModel"

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

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

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

    move-result-object v0

    check-cast v0, Lkotlin/k/g;

    const/4 v2, 0x1

    aput-object v0, v1, v2

    sput-object v1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->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 26
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;-><init>(Lcom/imo/android/core/component/c;)V

    .line 31
    new-instance p1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$c;

    invoke-direct {p1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$c;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;)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/MicSeatComponent;->h:Lkotlin/f;

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

    invoke-direct {p1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$a;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;)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/MicSeatComponent;->i:Lkotlin/f;

    return-void
.end method

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

    .line 26
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->m()Lcom/imo/android/imoim/voiceroom/feeds/adapter/FeedsMicSeatAdapter;

    move-result-object p0

    return-object p0
.end method

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

    .line 3051
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->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 3052
    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 3054
    invoke-virtual {v0}, Landroidx/fragment/app/FragmentActivity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_4c

    .line 3055
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->n()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;

    move-result-object v3

    .line 3056
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->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 4023
    iget-object v5, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->c:Ljava/lang/String;

    .line 5022
    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 5072
    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 3055
    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 c(Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;)Lcom/imo/android/imoim/voiceroom/feeds/b/a;
    .registers 1

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

    return-object p0
.end method

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

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

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

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/voiceroom/feeds/adapter/FeedsMicSeatAdapter;

    return-object v0
.end method

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

    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->i: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 6

    const-string v0, "view"

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

    const v0, 0x7f090e11

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

    move-result-object p1

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

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

    check-cast p1, Landroidx/recyclerview/widget/RecyclerView;

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->f:Landroidx/recyclerview/widget/RecyclerView;

    const-string v0, "recMicSeat"

    if-nez p1, :cond_1c

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

    :cond_1c
    new-instance v1, Lcom/imo/android/imoim/biggroup/chatroom/room/WrappedGridLayoutManager;

    invoke-virtual {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v2

    const-string v3, "context"

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

    check-cast v2, Landroid/content/Context;

    const/4 v3, 0x5

    invoke-direct {v1, v2, v3}, Lcom/imo/android/imoim/biggroup/chatroom/room/WrappedGridLayoutManager;-><init>(Landroid/content/Context;I)V

    check-cast v1, Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 1076
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->f:Landroidx/recyclerview/widget/RecyclerView;

    if-nez p1, :cond_39

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

    :cond_39
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->m()Lcom/imo/android/imoim/voiceroom/feeds/adapter/FeedsMicSeatAdapter;

    move-result-object v1

    check-cast v1, Landroidx/recyclerview/widget/RecyclerView$Adapter;

    invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 1077
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->f:Landroidx/recyclerview/widget/RecyclerView;

    if-nez p1, :cond_49

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

    :cond_49
    const/4 v1, 0x1

    invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->setHasFixedSize(Z)V

    .line 1078
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->f:Landroidx/recyclerview/widget/RecyclerView;

    if-nez p1, :cond_54

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

    :cond_54
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getRecycledViewPool()Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool;

    move-result-object p1

    const/4 v1, 0x0

    const/16 v2, 0x9

    invoke-virtual {p1, v1, v2}, Landroidx/recyclerview/widget/RecyclerView$RecycledViewPool;->setMaxRecycledViews(II)V

    .line 1079
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->f:Landroidx/recyclerview/widget/RecyclerView;

    if-nez p1, :cond_65

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

    :cond_65
    new-instance v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$b;

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

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

    invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 2066
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;->n()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;

    move-result-object p1

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

    .line 2066
    move-object v0, p0

    check-cast v0, Landroidx/lifecycle/LifecycleOwner;

    new-instance v1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$d;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent$d;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/MicSeatComponent;)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/d;",
            ">;"
        }
    .end annotation

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

    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