UserProfileFragment$2.smali

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

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/profile/UserProfileFragment;
.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/biggroup/data/h;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/profile/UserProfileFragment;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/profile/UserProfileFragment;)V
    .registers 2

    .line 886
    iput-object p1, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

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

    return-void
.end method


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

    .line 886
    check-cast p1, Lcom/imo/android/imoim/biggroup/data/h;

    if-eqz p1, :cond_64

    .line 1893
    iget-object v0, p1, Lcom/imo/android/imoim/biggroup/data/h;->a:Lcom/imo/android/imoim/biggroup/data/BigGroupMember$a;

    sget-object v1, Lcom/imo/android/imoim/biggroup/data/BigGroupMember$a;->UNKNOWN:Lcom/imo/android/imoim/biggroup/data/BigGroupMember$a;

    const/4 v2, 0x0

    if-eq v0, v1, :cond_13

    .line 1894
    iget-object v0, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    iget-object v1, v0, Lcom/imo/android/imoim/profile/UserProfileFragment;->B:Landroid/view/ViewGroup;

    invoke-virtual {v0, v1, v2}, Lcom/imo/android/imoim/profile/UserProfileFragment;->a(Landroid/view/View;I)V

    goto :goto_1c

    .line 1896
    :cond_13
    iget-object v0, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    iget-object v1, v0, Lcom/imo/android/imoim/profile/UserProfileFragment;->B:Landroid/view/ViewGroup;

    const/16 v3, 0x8

    invoke-virtual {v0, v1, v3}, Lcom/imo/android/imoim/profile/UserProfileFragment;->a(Landroid/view/View;I)V

    .line 1898
    :goto_1c
    iget-object v0, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/UserProfileFragment;->p(Lcom/imo/android/imoim/profile/UserProfileFragment;)Lcom/imo/android/imoim/biggroup/view/groupbadge/a;

    move-result-object v0

    if-nez v0, :cond_64

    .line 1899
    iget-object v0, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    new-instance v1, Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;

    iget-object v3, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    invoke-virtual {v3}, Lcom/imo/android/imoim/profile/UserProfileFragment;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v1, v3}, Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;-><init>(Landroid/content/Context;)V

    invoke-static {v0, v1}, Lcom/imo/android/imoim/profile/UserProfileFragment;->a(Lcom/imo/android/imoim/profile/UserProfileFragment;Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;)Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;

    .line 1900
    iget-object v0, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    iget-object v0, v0, Lcom/imo/android/imoim/profile/UserProfileFragment;->B:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    invoke-static {v1}, Lcom/imo/android/imoim/profile/UserProfileFragment;->d(Lcom/imo/android/imoim/profile/UserProfileFragment;)Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;

    move-result-object v1

    new-instance v3, Landroid/view/ViewGroup$LayoutParams;

    const/4 v4, -0x1

    const/4 v5, -0x2

    invoke-direct {v3, v4, v5}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 1901
    iget-object v0, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    new-instance v1, Lcom/imo/android/imoim/biggroup/view/groupbadge/a;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/UserProfileFragment;->d(Lcom/imo/android/imoim/profile/UserProfileFragment;)Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;

    move-result-object v3

    iget-object v4, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    invoke-static {v4}, Lcom/imo/android/imoim/profile/UserProfileFragment;->q(Lcom/imo/android/imoim/profile/UserProfileFragment;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v1, v3, v4, v2, p1}, Lcom/imo/android/imoim/biggroup/view/groupbadge/a;-><init>(Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;Ljava/lang/String;ZLcom/imo/android/imoim/biggroup/data/h;)V

    invoke-static {v0, v1}, Lcom/imo/android/imoim/profile/UserProfileFragment;->a(Lcom/imo/android/imoim/profile/UserProfileFragment;Lcom/imo/android/imoim/biggroup/view/groupbadge/a;)Lcom/imo/android/imoim/biggroup/view/groupbadge/a;

    .line 1902
    iget-object p1, p0, Lcom/imo/android/imoim/profile/UserProfileFragment$2;->a:Lcom/imo/android/imoim/profile/UserProfileFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/UserProfileFragment;->d(Lcom/imo/android/imoim/profile/UserProfileFragment;)Lcom/imo/android/imoim/biggroup/view/groupbadge/GroupBadgeView;

    invoke-static {}, Lcom/imo/android/imoim/profile/UserProfileFragment;->e()V

    :cond_64
    return-void
.end method