RoomCoupleComponent$ac.smali

.class final Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/Observer<",
        "Ljava/util/ArrayList<",
        "Lcom/imo/android/imoim/chatroom/couple/data/PairPlayer;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
    .registers 9

    .line 96
    check-cast p1, Ljava/util/ArrayList;

    .line 1593
    iget-object v0, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    const-string v1, "it"

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

    check-cast p1, Ljava/util/List;

    invoke-static {v0, p1}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->a(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;Ljava/util/List;)V

    .line 1594
    iget-object p1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->r(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)Lcom/imo/android/imoim/chatroom/couple/view/CoupleLayout;

    move-result-object p1

    if-eqz p1, :cond_25

    iget-object v0, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->s(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->t(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/imo/android/imoim/chatroom/couple/view/CoupleLayout;->a(Lcom/imo/android/imoim/chatroom/couple/data/CoupleCount;Ljava/util/ArrayList;)V

    .line 1595
    :cond_25
    iget-object p1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->u(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)V

    .line 1596
    iget-object p1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->v(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)Z

    move-result v0

    invoke-static {p1, v0}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->b(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;Z)V

    .line 1598
    iget-object p1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    .line 3097
    iget-object v2, p1, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->c:Ljava/lang/String;

    .line 1598
    iget-object p1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->b(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)Lcom/imo/android/imoim/chatroom/couple/viewmodel/RoomCoupleViewModel;

    move-result-object p1

    invoke-virtual {p1}, Lcom/imo/android/imoim/chatroom/couple/viewmodel/RoomCoupleViewModel;->d()Ljava/lang/String;

    move-result-object v3

    if-eqz v2, :cond_69

    if-eqz v3, :cond_69

    .line 1599
    iget-object p1, p0, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent$ac;->a:Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;->b(Lcom/imo/android/imoim/chatroom/couple/component/RoomCoupleComponent;)Lcom/imo/android/imoim/chatroom/couple/viewmodel/RoomCoupleViewModel;

    move-result-object v1

    sget-object v4, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    const-string p1, "roomId"

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

    const-string p1, "playId"

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

    .line 3398
    invoke-static {v1}, Landroidx/lifecycle/ViewModelKt;->getViewModelScope(Landroidx/lifecycle/ViewModel;)Lkotlinx/coroutines/af;

    move-result-object p1

    new-instance v6, Lcom/imo/android/imoim/chatroom/couple/viewmodel/RoomCoupleViewModel$k;

    const/4 v5, 0x0

    move-object v0, v6

    invoke-direct/range {v0 .. v5}, Lcom/imo/android/imoim/chatroom/couple/viewmodel/RoomCoupleViewModel$k;-><init>(Lcom/imo/android/imoim/chatroom/couple/viewmodel/RoomCoupleViewModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Lkotlin/c/c;)V

    check-cast v6, Lkotlin/f/a/m;

    const/4 v0, 0x3

    const/4 v1, 0x0

    invoke-static {p1, v1, v1, v6, v0}, Lkotlinx/coroutines/e;->a(Lkotlinx/coroutines/af;Lkotlin/c/e;Lkotlinx/coroutines/ah;Lkotlin/f/a/m;I)Lkotlinx/coroutines/br;

    :cond_69
    return-void
.end method