EditProfileFragment$4$1.smali

.class final Lcom/imo/android/imoim/profile/EditProfileFragment$4$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/profile/EditProfileFragment$4;
.end annotation

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


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


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

    .line 273
    iput-object p1, p0, Lcom/imo/android/imoim/profile/EditProfileFragment$4$1;->a:Lcom/imo/android/imoim/profile/EditProfileFragment$4;

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

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .registers 3

    .line 277
    iget-object p1, p0, Lcom/imo/android/imoim/profile/EditProfileFragment$4$1;->a:Lcom/imo/android/imoim/profile/EditProfileFragment$4;

    iget-object p1, p1, Lcom/imo/android/imoim/profile/EditProfileFragment$4;->a:Lcom/imo/android/imoim/profile/EditProfileFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/EditProfileFragment;->a(Lcom/imo/android/imoim/profile/EditProfileFragment;)Lcom/imo/android/imoim/profile/viewmodel/me/a;

    move-result-object p1

    invoke-interface {p1}, Lcom/imo/android/imoim/profile/viewmodel/me/a;->g()Landroidx/lifecycle/LiveData;

    move-result-object p1

    invoke-static {p1}, Lcom/imo/android/common/mvvm/BaseViewModel;->a(Landroidx/lifecycle/LiveData;)Ljava/lang/Object;

    move-result-object p1

    const/4 v0, 0x0

    if-eqz p1, :cond_2f

    .line 278
    iget-object p1, p0, Lcom/imo/android/imoim/profile/EditProfileFragment$4$1;->a:Lcom/imo/android/imoim/profile/EditProfileFragment$4;

    iget-object p1, p1, Lcom/imo/android/imoim/profile/EditProfileFragment$4;->a:Lcom/imo/android/imoim/profile/EditProfileFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/profile/EditProfileFragment;->a(Lcom/imo/android/imoim/profile/EditProfileFragment;)Lcom/imo/android/imoim/profile/viewmodel/me/a;

    move-result-object p1

    invoke-interface {p1}, Lcom/imo/android/imoim/profile/viewmodel/me/a;->g()Landroidx/lifecycle/LiveData;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object;

    move-result-object p1

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

    .line 1069
    iget-object p1, p1, Lcom/imo/android/imoim/profile/viewmodel/b;->b:Lcom/imo/android/imoim/profile/signature/e;

    if-eqz p1, :cond_2f

    .line 279
    iget-object p1, p1, Lcom/imo/android/imoim/profile/signature/e;->d:Ljava/lang/String;

    if-eqz p1, :cond_2f

    const/4 p1, 0x1

    const/4 v0, 0x1

    .line 2022
    :cond_2f
    invoke-static {}, Lcom/imo/android/imoim/profile/a/b$a;->a()Lcom/imo/android/imoim/profile/a/b;

    const-string p1, "signature"

    .line 281
    invoke-static {p1, v0}, Lcom/imo/android/imoim/profile/a/b;->a(Ljava/lang/String;Z)V

    .line 282
    invoke-static {}, Lcom/imo/android/imoim/profile/signature/d;->a()Lcom/imo/android/imoim/profile/signature/d;

    move-result-object p1

    const/4 v0, 0x2

    .line 2037
    iput v0, p1, Lcom/imo/android/imoim/profile/signature/d;->b:I

    return-void
.end method