ProfileSettingsFragment.smali
.class public Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;
.super Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;
.source "ProfileSettingsFragment.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# static fields
.field public static final TAG:Ljava/lang/String; = "ProfileSettingsFragment"
# instance fields
.field private imgChangePasswordPointer:Landroid/widget/ImageView;
.field private txtBirthdayDate:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
.field private txtEmail:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
.field private txtGender:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
.field private txtMe:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
.field private txtNameSurname:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
# direct methods
.method public constructor <init>()V
.registers 1
.line 13
invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;-><init>()V
return-void
.end method
.method private initViews(Landroid/view/View;)V
.registers 3
const v0, 0x7f0902d0
.line 42
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->imgChangePasswordPointer:Landroid/widget/ImageView;
const v0, 0x7f0902d1
.line 43
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtMe:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
const v0, 0x7f09040f
.line 44
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtNameSurname:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
const v0, 0x7f0903ff
.line 45
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtEmail:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
const v0, 0x7f0903dd
.line 46
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtBirthdayDate:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
const v0, 0x7f090403
.line 47
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtGender:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
.line 49
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtNameSurname:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->getUserFullName()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setText(Ljava/lang/CharSequence;)V
.line 50
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtEmail:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->getUserEmail()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setText(Ljava/lang/CharSequence;)V
.line 51
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtBirthdayDate:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->getUserBirthDate()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setText(Ljava/lang/CharSequence;)V
.line 52
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtGender:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->getUserGender()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setText(Ljava/lang/CharSequence;)V
.line 54
invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->setOnClickListeners()V
return-void
.end method
.method public static newInstance()Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;
.registers 1
.line 25
new-instance v0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;
invoke-direct {v0}, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;-><init>()V
return-object v0
.end method
.method private setOnClickListeners()V
.registers 2
.line 58
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->imgChangePasswordPointer:Landroid/widget/ImageView;
invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 59
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtMe:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-virtual {v0, p0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 60
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtNameSurname:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-virtual {v0, p0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 61
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtEmail:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-virtual {v0, p0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 62
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtBirthdayDate:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-virtual {v0, p0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
.line 63
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->txtGender:Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;
invoke-virtual {v0, p0}, Lhurriyet/mobil/android/hurriyet/views/HurriyetTextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
return-void
.end method
# virtual methods
.method protected getConfigurationsForFragment(Lcom/appcore/configuration/ConfigurationsForFragment;)V
.registers 3
.line 30
invoke-super {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->getConfigurationsForFragment(Lcom/appcore/configuration/ConfigurationsForFragment;)V
const v0, 0x7f0c0068
.line 31
iput v0, p1, Lcom/appcore/configuration/ConfigurationsForFragment;->layoutID:I
return-void
.end method
.method public isTabVisible()Z
.registers 2
const/4 v0, 0x0
return v0
.end method
.method public onClick(Landroid/view/View;)V
.registers 3
.line 73
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result p1
const v0, 0x7f0902d1
if-eq p1, v0, :cond_a
goto :goto_11
.line 75
:cond_a
invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
invoke-virtual {p1}, Landroidx/fragment/app/FragmentActivity;->onBackPressed()V
:goto_11
return-void
.end method
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.registers 3
.line 36
invoke-super {p0, p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.line 37
invoke-direct {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/ProfileSettingsFragment;->initViews(Landroid/view/View;)V
return-void
.end method