ProfileIntroduceComponent$2.smali

.class final Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->c()V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/Observer<",
        "Lcom/imo/android/imoim/profile/viewmodel/b;",
        ">;"
    }
.end annotation


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

.field final synthetic b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;Landroid/view/View;)V
    .registers 3

    .line 73
    iput-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    iput-object p2, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->a:Landroid/view/View;

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

    return-void
.end method


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

    .line 73
    check-cast p1, Lcom/imo/android/imoim/profile/viewmodel/b;

    if-eqz p1, :cond_be

    .line 1080
    iget-object v0, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    .line 2078
    iget-object p1, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->d:Ljava/util/List;

    .line 1080
    invoke-static {v0, p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->a(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;Ljava/util/List;)Ljava/util/List;

    .line 1081
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->b(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Ljava/util/List;

    move-result-object p1

    const/4 v0, 0x0

    if-eqz p1, :cond_3a

    .line 1082
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->c(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

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

    .line 1083
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->d(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Lcom/imo/android/imoim/profile/introduction/adapter/ProfilePerIntroAdapter;

    move-result-object p1

    iget-object v1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->b(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Ljava/util/List;

    move-result-object v1

    invoke-virtual {p1, v1}, Lcom/imo/android/imoim/profile/introduction/adapter/ProfilePerIntroAdapter;->a(Ljava/util/List;)V

    .line 1084
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->c(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    new-instance v1, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2$1;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2$1;-><init>(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;)V

    invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->post(Ljava/lang/Runnable;)Z

    .line 1091
    :cond_3a
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->e(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Z

    move-result p1

    if-nez p1, :cond_4e

    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->b(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Ljava/util/List;

    move-result-object p1

    invoke-static {p1}, Lcom/imo/android/imoim/util/common/i;->a(Ljava/util/Collection;)Z

    move-result p1

    if-nez p1, :cond_56

    :cond_4e
    invoke-static {}, Lcom/imo/android/imoim/util/ei;->bL()Z

    move-result p1

    if-eqz p1, :cond_56

    const/4 p1, 0x1

    goto :goto_57

    :cond_56
    const/4 p1, 0x0

    .line 1092
    :goto_57
    iget-object v1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->f(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x8

    if-eqz p1, :cond_63

    const/4 v3, 0x0

    goto :goto_65

    :cond_63
    const/16 v3, 0x8

    :goto_65
    invoke-static {v1, v3}, Lcom/imo/android/imoim/util/en;->a(Landroid/view/View;I)V

    .line 1093
    sget-object v1, Lcom/imo/android/imoim/setting/IMOSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/setting/IMOSettingsDelegate;

    invoke-virtual {v1}, Lcom/imo/android/imoim/setting/IMOSettingsDelegate;->getImoProfileRefactor()Z

    move-result v1

    if-nez v1, :cond_91

    if-nez p1, :cond_88

    .line 1095
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->g(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroid/view/View;

    move-result-object p1

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

    move-result p1

    if-eqz p1, :cond_91

    .line 1096
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->h(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroid/view/View;

    move-result-object p1

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->a(Landroid/view/View;)V

    goto :goto_91

    .line 1099
    :cond_88
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->h(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroid/view/View;

    move-result-object p1

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->b(Landroid/view/View;)V

    .line 1102
    :cond_91
    :goto_91
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->b(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Ljava/util/List;

    move-result-object p1

    invoke-static {p1}, Lcom/imo/android/imoim/util/common/i;->a(Ljava/util/Collection;)Z

    move-result p1

    if-eqz p1, :cond_ae

    .line 1103
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->c(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    invoke-virtual {p1, v2}, Landroidx/recyclerview/widget/RecyclerView;->setVisibility(I)V

    .line 1104
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->a:Landroid/view/View;

    const/16 v0, 0x38

    invoke-static {p1, v0}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->b(Landroid/view/View;I)V

    return-void

    .line 1106
    :cond_ae
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->b:Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->c(Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;)Landroidx/recyclerview/widget/RecyclerView;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setVisibility(I)V

    .line 1107
    iget-object p1, p0, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent$2;->a:Landroid/view/View;

    const/16 v0, 0x2c

    invoke-static {p1, v0}, Lcom/imo/android/imoim/profile/introduction/ProfileIntroduceComponent;->b(Landroid/view/View;I)V

    :cond_be
    return-void
.end method