ImoProfileFragment$v.smali

.class final Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/profile/home/ImoProfileFragment;
.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<",
        "Lcom/imo/android/imoim/profile/viewmodel/b;",
        ">;"
    }
.end annotation


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


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

    iput-object p1, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

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

    return-void
.end method


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

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

    .line 1550
    iget-object v0, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->r(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;)V

    .line 1551
    iget-object v0, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->t(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "extraProfile"

    if-eqz v0, :cond_38

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

    .line 2156
    iget-object v2, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->k:Ljava/lang/String;

    .line 1552
    invoke-static {v0, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_38

    .line 1553
    iget-object v2, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {v2, v0}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->b(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;Ljava/lang/String;)V

    .line 1554
    iget-object v0, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->v(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;)Lcom/imo/android/imoim/profile/component/ProfileButtonComponent;

    move-result-object v0

    if-eqz v0, :cond_32

    .line 1555
    iget-object v0, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->u(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;)Lcom/imo/android/imoim/profile/component/ProfileButtonComponent;

    move-result-object v0

    const/4 v2, 0x0

    .line 2655
    iput-boolean v2, v0, Lcom/imo/android/imoim/profile/component/ProfileButtonComponent;->b:Z

    .line 1557
    :cond_32
    iget-object v0, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    const/4 v2, 0x0

    invoke-static {v0, v2}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->a(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;Ljava/lang/String;)V

    .line 1560
    :cond_38
    iget-object v0, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->w(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;)Z

    move-result v0

    if-nez v0, :cond_82

    .line 1561
    iget-object v0, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->x(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;)Lcom/imo/android/imoim/profile/musicpendant/d;

    move-result-object v0

    if-eqz v0, :cond_82

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

    .line 3065
    iget-object p1, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->a:Lcom/imo/android/imoim/profile/musicpendant/MusicPendant;

    .line 3091
    iget-object v1, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->l:Ljava/lang/Runnable;

    if-eqz v1, :cond_5d

    .line 3092
    iget-object v1, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->a:Lcom/imo/android/imoim/profile/musicpendant/SimpleMusicPendantView;

    if-nez v1, :cond_58

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

    :cond_58
    iget-object v2, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->l:Ljava/lang/Runnable;

    invoke-virtual {v1, v2}, Lcom/imo/android/imoim/profile/musicpendant/SimpleMusicPendantView;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 3095
    :cond_5d
    new-instance v1, Lcom/imo/android/imoim/profile/musicpendant/d$d;

    invoke-direct {v1, v0, p1}, Lcom/imo/android/imoim/profile/musicpendant/d$d;-><init>(Lcom/imo/android/imoim/profile/musicpendant/d;Lcom/imo/android/imoim/profile/musicpendant/MusicPendant;)V

    check-cast v1, Ljava/lang/Runnable;

    iput-object v1, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->l:Ljava/lang/Runnable;

    .line 3110
    iget-object p1, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->a:Lcom/imo/android/imoim/profile/musicpendant/SimpleMusicPendantView;

    if-nez p1, :cond_6d

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

    :cond_6d
    invoke-virtual {p1}, Lcom/imo/android/imoim/profile/musicpendant/SimpleMusicPendantView;->getWidth()I

    move-result p1

    if-nez p1, :cond_7b

    .line 3111
    iget-object p1, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->a:Lcom/imo/android/imoim/profile/musicpendant/SimpleMusicPendantView;

    iget-object v0, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->l:Ljava/lang/Runnable;

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/profile/musicpendant/SimpleMusicPendantView;->post(Ljava/lang/Runnable;)Z

    goto :goto_82

    .line 3113
    :cond_7b
    iget-object p1, v0, Lcom/imo/android/imoim/profile/musicpendant/d;->l:Ljava/lang/Runnable;

    if-eqz p1, :cond_82

    invoke-interface {p1}, Ljava/lang/Runnable;->run()V

    .line 1563
    :cond_82
    :goto_82
    iget-object p1, p0, Lcom/imo/android/imoim/profile/home/ImoProfileFragment$v;->a:Lcom/imo/android/imoim/profile/home/ImoProfileFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/home/ImoProfileFragment;->s(Lcom/imo/android/imoim/profile/home/ImoProfileFragment;)V

    return-void
.end method