NotificationSettingsFragment$6.smali

.class Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$6;
.super Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectorListener;
.source "NotificationSettingsFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;
.end annotation

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


# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;


# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;)V
    .registers 2

    .line 307
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$6;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectorListener;-><init>()V

    return-void
.end method


# virtual methods
.method public getNextSelectable(Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableModel;)Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableModel;
    .registers 4

    .line 310
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$6;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    const/4 v0, 0x0

    const/4 v1, 0x1

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->getSelectableModel(ZZI)Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableModel;
    invoke-static {p1, v0, v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$1300(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;ZZI)Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableModel;

    move-result-object p1

    return-object p1
.end method

.method public onItemSelected(Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableModel;Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableItem;)V
    .registers 5

    .line 315
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$6;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    const/4 v1, 0x1

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->isAnyChangesMade:Z
    invoke-static {v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$902(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;Z)Z

    .line 316
    iget-object p1, p1, Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableModel;->selectableId:Ljava/lang/String;

    const-string v0, "startSelection"

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_21

    .line 317
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$6;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->notificationHourSelectionStartTv:Landroid/widget/TextView;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$1400(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;)Landroid/widget/TextView;

    move-result-object p1

    iget-object v0, p2, Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableItem;->itemText:Ljava/lang/String;

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

    .line 318
    iget p1, p2, Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableItem;->itemId:I

    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->setNotificationCustomHoursStart(I)V

    goto :goto_31

    .line 320
    :cond_21
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment$6;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->notificationHourSelectionEndTv:Landroid/widget/TextView;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;->access$1500(Lhurriyet/mobil/android/hurriyet/fragments/NotificationSettingsFragment;)Landroid/widget/TextView;

    move-result-object p1

    iget-object v0, p2, Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableItem;->itemText:Ljava/lang/String;

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

    .line 321
    iget p1, p2, Lhurriyet/mobil/android/hurriyet/features/stringselector/HurriyetStringSelectableItem;->itemId:I

    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->setNotificationCustomHoursEnd(I)V

    :goto_31
    return-void
.end method