RateMeSecondFragment.smali

.class public Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;
.super Lcom/appcore/ui/base/CoreFragment;
.source "RateMeSecondFragment.java"

# interfaces
.implements Lcom/appcore/ui/listeners/OnBackListener;


# instance fields
.field private mDescriptionTv:Landroid/widget/TextView;

.field private mImg:Landroid/widget/ImageView;

.field private mIsUserLiked:Z

.field private mLaterLineV:Landroid/view/View;

.field private mLaterTv:Landroid/widget/TextView;

.field private mNoTv:Landroid/widget/TextView;

.field private final mOnClickListener:Landroid/view/View$OnClickListener;

.field private mRoot:Landroid/view/View;

.field private mTitleTv:Landroid/widget/TextView;

.field private mYesClickableV:Landroid/view/View;

.field private mYesDescriptionTv:Landroid/widget/TextView;

.field private mYesTv:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .registers 2

    .line 17
    invoke-direct {p0}, Lcom/appcore/ui/base/CoreFragment;-><init>()V

    .line 78
    new-instance v0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment$1;

    invoke-direct {v0, p0}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment$1;-><init>(Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;)V

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mOnClickListener:Landroid/view/View$OnClickListener;

    return-void
.end method

.method static synthetic access$000(Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;)Landroid/view/View;
    .registers 1

    .line 17
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mYesClickableV:Landroid/view/View;

    return-object p0
.end method

.method static synthetic access$100(Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;)Z
    .registers 1

    .line 17
    iget-boolean p0, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mIsUserLiked:Z

    return p0
.end method

.method static synthetic access$200(Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;)Landroid/widget/TextView;
    .registers 1

    .line 17
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mLaterTv:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic access$300(Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;)Landroid/widget/TextView;
    .registers 1

    .line 17
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mNoTv:Landroid/widget/TextView;

    return-object p0
.end method

.method public static newInstance()Lcom/appcore/ui/base/CoreFragment;
    .registers 1

    .line 34
    new-instance v0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;

    invoke-direct {v0}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;-><init>()V

    return-object v0
.end method


# virtual methods
.method protected getConfigurationsForFragment(Lcom/appcore/configuration/ConfigurationsForFragment;)V
    .registers 3

    const v0, 0x7f0c006a

    .line 39
    iput v0, p1, Lcom/appcore/configuration/ConfigurationsForFragment;->layoutID:I

    return-void
.end method

.method public onBackPressed()Z
    .registers 2

    .line 98
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeActivity;

    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeActivity;->closeWithAnimation()V

    const/4 v0, 0x1

    return v0
.end method

.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
    .registers 3

    .line 44
    invoke-super {p0, p1, p2}, Lcom/appcore/ui/base/CoreFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V

    .line 46
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p2

    check-cast p2, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeActivity;

    invoke-virtual {p2}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeActivity;->getIfUserLiked()Z

    move-result p2

    iput-boolean p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mIsUserLiked:Z

    .line 48
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mRoot:Landroid/view/View;

    const p2, 0x7f0902eb

    .line 50
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/ImageView;

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mImg:Landroid/widget/ImageView;

    const p2, 0x7f0902ec

    .line 51
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mTitleTv:Landroid/widget/TextView;

    const p2, 0x7f0902e7

    .line 52
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mDescriptionTv:Landroid/widget/TextView;

    const p2, 0x7f0902e4

    .line 54
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mYesTv:Landroid/widget/TextView;

    const p2, 0x7f0902e6

    .line 55
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mYesDescriptionTv:Landroid/widget/TextView;

    const p2, 0x7f0902e5

    .line 56
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mYesClickableV:Landroid/view/View;

    const p2, 0x7f0902e9

    .line 57
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mLaterLineV:Landroid/view/View;

    const p2, 0x7f0902e2

    .line 58
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    iput-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mLaterTv:Landroid/widget/TextView;

    const p2, 0x7f0902e3

    .line 59
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mNoTv:Landroid/widget/TextView;

    .line 61
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mYesClickableV:Landroid/view/View;

    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {p1, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 62
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mLaterTv:Landroid/widget/TextView;

    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 63
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mNoTv:Landroid/widget/TextView;

    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 65
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    check-cast p1, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeActivity;

    invoke-virtual {p1, p0}, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeActivity;->setOnBackListener(Lcom/appcore/ui/listeners/OnBackListener;)V

    .line 67
    iget-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mIsUserLiked:Z

    if-nez p1, :cond_ca

    .line 68
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mLaterLineV:Landroid/view/View;

    const/16 p2, 0x8

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

    .line 69
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mLaterTv:Landroid/widget/TextView;

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 71
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mImg:Landroid/widget/ImageView;

    const p2, 0x7f080145

    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 72
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mTitleTv:Landroid/widget/TextView;

    const p2, 0x7f10025f

    invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/HApp;->getStrWithID(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 73
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mDescriptionTv:Landroid/widget/TextView;

    const p2, 0x7f10025e

    invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/HApp;->getStrWithID(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 74
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/features/rateme/RateMeSecondFragment;->mYesDescriptionTv:Landroid/widget/TextView;

    const p2, 0x7f100259

    invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/HApp;->getStrWithID(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_ca
    return-void
.end method