SliderPhotoGalleryFragment.smali

.class public Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;
.super Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;
.source "SliderPhotoGalleryFragment.java"


# static fields
.field private static final CONTENT:Ljava/lang/String; = "content"

.field private static final IS_INIT_POSITION:Ljava/lang/String; = "is_init_position"

.field private static final IS_SLIDER:Ljava/lang/String; = "is_slider"

.field private static final LIST_POSITION:Ljava/lang/String; = "list_position"


# instance fields
.field private bannerAdContainer:Landroid/view/ViewGroup;

.field private bannerAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

.field private dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

.field private mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

.field private mDateTv:Landroid/widget/TextView;

.field private mDescriptionTv:Landroid/widget/TextView;

.field private mEditorTv:Landroid/widget/TextView;

.field private mImageContainerVg:Landroid/view/ViewGroup;

.field private mImg0:Landroid/widget/ImageView;

.field private mImg1:Landroid/widget/ImageView;

.field private mImg2:Landroid/widget/ImageView;

.field private mIsAlive:Z

.field private mIsPaused:Z

.field private mListPosition:I

.field private mLoadingView:Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;

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

.field private mPhotoFiles:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ltr/com/hurriyet/androidsdk/response/content/Files;",
            ">;"
        }
    .end annotation
.end field

.field private mSwipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

.field private final mSwipeToRefreshListener:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;

.field private mSwipeTutorial:Landroid/view/View;

.field private mTitleTv:Landroid/widget/TextView;

.field private rectangleAdContainer:Landroid/view/ViewGroup;

.field private rectangleAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;


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

    .line 53
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;-><init>()V

    const/4 v0, 0x0

    .line 80
    iput-boolean v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsPaused:Z

    .line 81
    iput-boolean v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsAlive:Z

    const/4 v0, 0x0

    .line 82
    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    .line 228
    new-instance v0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$2;

    invoke-direct {v0, p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$2;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeToRefreshListener:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;

    .line 242
    new-instance v0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$3;

    invoke-direct {v0, p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$3;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V

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

    return-void
.end method

.method static synthetic access$000(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Landroid/view/ViewGroup;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImageContainerVg:Landroid/view/ViewGroup;

    return-object p0
.end method

.method static synthetic access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    return-object p0
.end method

.method static synthetic access$1000(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    return-object p0
.end method

.method static synthetic access$1002(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
    .registers 2

    .line 53
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    return-object p1
.end method

.method static synthetic access$1100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Landroid/view/ViewGroup;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdContainer:Landroid/view/ViewGroup;

    return-object p0
.end method

.method static synthetic access$1200(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V
    .registers 1

    .line 53
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->setData()V

    return-void
.end method

.method static synthetic access$1302(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)Ltr/com/hurriyet/androidsdk/response/content/DataLayer;
    .registers 2

    .line 53
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    return-object p1
.end method

.method static synthetic access$1400(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;Z)V
    .registers 2

    .line 53
    invoke-direct {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->sendLogScreenEvent(Z)V

    return-void
.end method

.method static synthetic access$1500(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mLoadingView:Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;

    return-object p0
.end method

.method static synthetic access$1600(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Z
    .registers 1

    .line 53
    iget-boolean p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsAlive:Z

    return p0
.end method

.method static synthetic access$1700(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V
    .registers 1

    .line 53
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->requestData()V

    return-void
.end method

.method static synthetic access$200(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Landroid/widget/ImageView;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg0:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic access$300(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V
    .registers 1

    .line 53
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->notifyItemClickEvent()V

    return-void
.end method

.method static synthetic access$400(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    return-object p0
.end method

.method static synthetic access$402(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;Ltr/com/hurriyet/androidsdk/model/content/Content;)Ltr/com/hurriyet/androidsdk/model/content/Content;
    .registers 2

    .line 53
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    return-object p1
.end method

.method static synthetic access$500(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Landroid/widget/ImageView;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg1:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic access$600(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Landroid/widget/ImageView;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg2:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic access$700(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
    .registers 3

    .line 53
    invoke-direct {p0, p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->getAdFeed(Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    move-result-object p0

    return-object p0
.end method

.method static synthetic access$800(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    return-object p0
.end method

.method static synthetic access$802(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;)Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;
    .registers 2

    .line 53
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    return-object p1
.end method

.method static synthetic access$900(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)Landroid/view/ViewGroup;
    .registers 1

    .line 53
    iget-object p0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdContainer:Landroid/view/ViewGroup;

    return-object p0
.end method

.method private getAdFeed(Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Ltr/com/hurriyet/androidsdk/model/content/Feed;",
            ">;",
            "Ltr/com/hurriyet/androidsdk/model/content/AdType;",
            ")",
            "Ltr/com/hurriyet/androidsdk/model/content/AdFeed;"
        }
    .end annotation

    const/4 v0, 0x0

    if-eqz p1, :cond_28

    .line 330
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v2, 0x1

    if-ge v1, v2, :cond_b

    goto :goto_28

    .line 333
    :cond_b
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_f
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_28

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ltr/com/hurriyet/androidsdk/model/content/Feed;

    .line 334
    instance-of v2, v1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    if-eqz v2, :cond_f

    check-cast v1, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;

    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;->getAdType()Ltr/com/hurriyet/androidsdk/model/content/AdType;

    move-result-object v2

    if-ne v2, p2, :cond_f

    return-object v1

    :cond_28
    :goto_28
    return-object v0
.end method

.method private getPhotoFilesOnly()Ljava/util/List;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ltr/com/hurriyet/androidsdk/response/content/Files;",
            ">;"
        }
    .end annotation

    .line 356
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 357
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    if-eqz v1, :cond_37

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->files:Ljava/util/ArrayList;

    if-eqz v1, :cond_37

    .line 358
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->files:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_15
    :goto_15
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_37

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ltr/com/hurriyet/androidsdk/response/content/Files;

    .line 359
    invoke-virtual {v2}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getContentType()Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_33

    invoke-virtual {v2}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getContentType()Ljava/lang/String;

    move-result-object v3

    const-string v4, "AdNews"

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

    move-result v3

    if-nez v3, :cond_15

    .line 360
    :cond_33
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_15

    :cond_37
    return-object v0
.end method

.method private initViews(Landroid/view/View;)V
    .registers 4

    const v0, 0x7f090355

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

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdContainer:Landroid/view/ViewGroup;

    const v0, 0x7f09035e

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

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdContainer:Landroid/view/ViewGroup;

    const v0, 0x7f09027f

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

    move-result-object v0

    check-cast v0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    const v0, 0x7f090285

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

    move-result-object v0

    check-cast v0, Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mLoadingView:Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;

    const v0, 0x7f09035f

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

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mTitleTv:Landroid/widget/TextView;

    const v0, 0x7f09035d

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

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImageContainerVg:Landroid/view/ViewGroup;

    const v0, 0x7f09035a

    .line 140
    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/SliderPhotoGalleryFragment;->mImg0:Landroid/widget/ImageView;

    const v0, 0x7f09035b

    .line 141
    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/SliderPhotoGalleryFragment;->mImg1:Landroid/widget/ImageView;

    const v0, 0x7f09035c

    .line 142
    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/SliderPhotoGalleryFragment;->mImg2:Landroid/widget/ImageView;

    const v0, 0x7f090357

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

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDescriptionTv:Landroid/widget/TextView;

    const v0, 0x7f090358

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

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mEditorTv:Landroid/widget/TextView;

    const v0, 0x7f090356

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

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDateTv:Landroid/widget/TextView;

    const v0, 0x7f090364

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

    move-result-object v0

    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeTutorial:Landroid/view/View;

    .line 147
    sget-boolean v0, Lhurriyet/mobil/android/hurriyet/HConstants;->IS_DETAIL_SWIPE_TUTORIAL_ENABLED:Z

    if-eqz v0, :cond_ce

    .line 148
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeTutorial:Landroid/view/View;

    const/4 v1, 0x0

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

    .line 149
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/HApp;->getH()Lhurriyet/mobil/android/hurriyet/HApp;

    move-result-object v0

    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/HApp;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f060111

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    const v1, 0x7f0900db

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    invoke-static {v0, v1}, Lcom/appcore/utils/helpers/UiHelpers;->setColorFilterForDrawable(ILandroid/widget/ImageView;)V

    .line 150
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/HApp;->getH()Lhurriyet/mobil/android/hurriyet/HApp;

    move-result-object v0

    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/HApp;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f060035

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    const v1, 0x7f0900dc

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    invoke-static {v0, p1}, Lcom/appcore/utils/helpers/UiHelpers;->setColorFilterForDrawable(ILandroid/widget/ImageView;)V

    goto :goto_d5

    .line 152
    :cond_ce
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeTutorial:Landroid/view/View;

    const/16 v0, 0x8

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

    :goto_d5
    return-void
.end method

.method private loadImage(Landroid/widget/ImageView;I)V
    .registers 7

    .line 191
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/HApp;->getPicasso()Lcom/squareup/picasso/Picasso;

    move-result-object v0

    .line 192
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mPhotoFiles:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    const v2, 0x7f0801ac

    if-ge p2, v1, :cond_99

    .line 193
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x15

    if-lt v1, v3, :cond_1c

    .line 194
    invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/utils/SharedElementTransitionHelper;->getGallerySharedElementTransitionName(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setTransitionName(Ljava/lang/String;)V

    .line 197
    :cond_1c
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mPhotoFiles:Ljava/util/List;

    invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ltr/com/hurriyet/androidsdk/response/content/Files;

    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;

    move-result-object v1

    if-eqz v1, :cond_4a

    .line 199
    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getPrefix()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_4a

    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getSuffix()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_4a

    .line 200
    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getPrefix()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getSuffix()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, p2, v0}, Lhurriyet/mobil/android/hurriyet/utils/ImageLoader;->imageLoader(Landroid/widget/ImageView;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_a8

    .line 202
    :cond_4a
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mPhotoFiles:Ljava/util/List;

    invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ltr/com/hurriyet/androidsdk/response/content/Files;

    invoke-virtual {v1}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;

    move-result-object v1

    if-eqz v1, :cond_7d

    .line 203
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mPhotoFiles:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ltr/com/hurriyet/androidsdk/response/content/Files;

    invoke-virtual {v0}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;

    move-result-object v0

    invoke-virtual {v0}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getPrefix()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mPhotoFiles:Ljava/util/List;

    .line 204
    invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Ltr/com/hurriyet/androidsdk/response/content/Files;

    invoke-virtual {p2}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;

    move-result-object p2

    invoke-virtual {p2}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getSuffix()Ljava/lang/String;

    move-result-object p2

    const/4 v1, 0x0

    .line 203
    invoke-static {p1, v0, p2, v1, v1}, Lhurriyet/mobil/android/hurriyet/utils/ImageLoader;->imageLoader(Landroid/widget/ImageView;Ljava/lang/String;Ljava/lang/String;ZZ)V

    goto :goto_a8

    .line 207
    :cond_7d
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mPhotoFiles:Ljava/util/List;

    invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Ltr/com/hurriyet/androidsdk/response/content/Files;

    invoke-virtual {p2}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getFileName()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v0, p2}, Lcom/squareup/picasso/Picasso;->load(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;

    move-result-object p2

    .line 208
    invoke-virtual {p2, v2}, Lcom/squareup/picasso/RequestCreator;->placeholder(I)Lcom/squareup/picasso/RequestCreator;

    move-result-object p2

    .line 209
    invoke-virtual {p2, v2}, Lcom/squareup/picasso/RequestCreator;->error(I)Lcom/squareup/picasso/RequestCreator;

    move-result-object p2

    .line 210
    invoke-virtual {p2, p1}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;)V

    goto :goto_a8

    .line 214
    :cond_99
    invoke-virtual {v0, v2}, Lcom/squareup/picasso/Picasso;->load(I)Lcom/squareup/picasso/RequestCreator;

    move-result-object p2

    .line 215
    invoke-virtual {p2, v2}, Lcom/squareup/picasso/RequestCreator;->placeholder(I)Lcom/squareup/picasso/RequestCreator;

    move-result-object p2

    .line 216
    invoke-virtual {p2, v2}, Lcom/squareup/picasso/RequestCreator;->error(I)Lcom/squareup/picasso/RequestCreator;

    move-result-object p2

    .line 217
    invoke-virtual {p2, p1}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;)V

    :goto_a8
    return-void
.end method

.method public static newInstance(Ltr/com/hurriyet/androidsdk/model/content/Content;ZZI)Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;
    .registers 7

    .line 85
    new-instance v0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;

    invoke-direct {v0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;-><init>()V

    .line 86
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string v2, "content"

    .line 87
    invoke-virtual {v1, v2, p0}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    const-string p0, "is_slider"

    .line 88
    invoke-virtual {v1, p0, p1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const-string p0, "is_init_position"

    .line 89
    invoke-virtual {v1, p0, p2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const-string p0, "list_position"

    .line 90
    invoke-virtual {v1, p0, p3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 91
    invoke-virtual {v0, v1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->setArguments(Landroid/os/Bundle;)V

    return-object v0
.end method

.method private notifyItemClickEvent()V
    .registers 8

    .line 344
    :try_start_0
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v1, v0, Ltr/com/hurriyet/androidsdk/model/content/Content;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    const v0, 0x7f1000a4

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

    move-result-object v2

    const v0, 0x7f10007b

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

    move-result-object v3

    const v0, 0x7f1000ed

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

    move-result-object v4

    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v0, v0, Ltr/com/hurriyet/androidsdk/model/content/Content;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    iget-object v5, v0, Ltr/com/hurriyet/androidsdk/response/content/DataLayer;->trackingUrl:Ljava/lang/String;

    const/4 v6, 0x1

    .line 344
    invoke-static/range {v1 .. v6}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetAnalytics;->logEvent(Ltr/com/hurriyet/androidsdk/response/content/DataLayer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
    :try_end_23
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_23} :catch_24

    goto :goto_28

    :catch_24
    move-exception v0

    .line 351
    invoke-static {v0}, Lcom/appcore/utils/L;->ex(Ljava/lang/Exception;)V

    :goto_28
    return-void
.end method

.method private requestData()V
    .registers 6

    const/4 v0, 0x0

    .line 259
    iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    .line 260
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdContainer:Landroid/view/ViewGroup;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->removeAllViews()V

    .line 261
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdContainer:Landroid/view/ViewGroup;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->removeAllViews()V

    .line 262
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdContainer:Landroid/view/ViewGroup;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 263
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdContainer:Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 265
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/HApp;->getH()Lhurriyet/mobil/android/hurriyet/HApp;

    move-result-object v0

    iget-object v0, v0, Lhurriyet/mobil/android/hurriyet/HApp;->app:Ltr/com/hurriyet/androidsdk/model/content/App;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->detailURL:Ljava/lang/String;

    new-instance v2, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$4;

    invoke-direct {v2, p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$4;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V

    const/4 v3, 0x1

    const-string v4, ""

    invoke-static {v0, v1, v3, v4, v2}, Ltr/com/hurriyet/androidsdk/HurriyetSDK;->getContent(Ltr/com/hurriyet/androidsdk/model/content/App;Ljava/lang/String;ZLjava/lang/String;Ltr/com/hurriyet/androidsdk/callback/ContentCallback;)Lretrofit2/Call;

    return-void
.end method

.method private sendLogScreenEvent(Z)V
    .registers 3

    if-eqz p1, :cond_22

    .line 368
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    if-nez p1, :cond_7

    goto :goto_22

    .line 371
    :cond_7
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetAnalytics;->getAppLaunchType()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/utils/AppLaunchType;->isPush(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_17

    .line 372
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    const-string v0, "push"

    iput-object v0, p1, Ltr/com/hurriyet/androidsdk/response/content/DataLayer;->clicksLabel:Ljava/lang/String;

    .line 374
    :cond_17
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    iget-object v0, p1, Ltr/com/hurriyet/androidsdk/response/content/DataLayer;->cd_hnewsid:Ljava/lang/String;

    iput-object v0, p1, Ltr/com/hurriyet/androidsdk/response/content/DataLayer;->clicksArticleID:Ljava/lang/String;

    .line 375
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;

    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetAnalytics;->logScreen(Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)V

    :cond_22
    :goto_22
    return-void
.end method

.method private setData()V
    .registers 6

    .line 157
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setVisibility(I)V

    .line 158
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->getNewsTextSize()I

    move-result v0

    .line 160
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->getPhotoFilesOnly()Ljava/util/List;

    move-result-object v2

    iput-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mPhotoFiles:Ljava/util/List;

    .line 161
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mTitleTv:Landroid/widget/TextView;

    add-int/lit8 v3, v0, 0x6

    int-to-float v3, v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextSize(F)V

    .line 162
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mTitleTv:Landroid/widget/TextView;

    iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v3, v3, Ltr/com/hurriyet/androidsdk/model/content/Content;->title:Ljava/lang/String;

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

    .line 164
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg0:Landroid/widget/ImageView;

    invoke-direct {p0, v2, v1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->loadImage(Landroid/widget/ImageView;I)V

    .line 165
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg1:Landroid/widget/ImageView;

    const/4 v3, 0x1

    invoke-direct {p0, v2, v3}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->loadImage(Landroid/widget/ImageView;I)V

    .line 166
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg2:Landroid/widget/ImageView;

    const/4 v3, 0x2

    invoke-direct {p0, v2, v3}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->loadImage(Landroid/widget/ImageView;I)V

    .line 168
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mEditorTv:Landroid/widget/TextView;

    iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v3, v3, Ltr/com/hurriyet/androidsdk/model/content/Content;->editor:Ljava/lang/String;

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

    .line 171
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v2, v2, Ltr/com/hurriyet/androidsdk/model/content/Content;->modifiedDate:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    const/16 v3, 0x8

    if-nez v2, :cond_56

    .line 172
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDateTv:Landroid/widget/TextView;

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

    .line 173
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDateTv:Landroid/widget/TextView;

    iget-object v4, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v4, v4, Ltr/com/hurriyet/androidsdk/model/content/Content;->modifiedDate:Ljava/lang/String;

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

    goto :goto_74

    .line 174
    :cond_56
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v2, v2, Ltr/com/hurriyet/androidsdk/model/content/Content;->date:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_6f

    .line 175
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDateTv:Landroid/widget/TextView;

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

    .line 176
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDateTv:Landroid/widget/TextView;

    iget-object v4, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v4, v4, Ltr/com/hurriyet/androidsdk/model/content/Content;->date:Ljava/lang/String;

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

    goto :goto_74

    .line 178
    :cond_6f
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDateTv:Landroid/widget/TextView;

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

    .line 181
    :goto_74
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v2, v2, Ltr/com/hurriyet/androidsdk/model/content/Content;->description:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_84

    .line 182
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDescriptionTv:Landroid/widget/TextView;

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

    goto :goto_98

    .line 184
    :cond_84
    iget-object v2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDescriptionTv:Landroid/widget/TextView;

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

    .line 185
    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDescriptionTv:Landroid/widget/TextView;

    int-to-float v0, v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTextSize(F)V

    .line 186
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mDescriptionTv:Landroid/widget/TextView;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->description:Ljava/lang/String;

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

    :goto_98
    return-void
.end method

.method private setListeners()V
    .registers 3

    .line 222
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg0:Landroid/widget/ImageView;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 223
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg1:Landroid/widget/ImageView;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 224
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImg2:Landroid/widget/ImageView;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 225
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeToRefreshListener:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;

    invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setOnRefreshListener(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;)V

    return-void
.end method


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

    .line 105
    invoke-super {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->getConfigurationsForFragment(Lcom/appcore/configuration/ConfigurationsForFragment;)V

    const v0, 0x7f0c0071

    .line 106
    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 onCreate(Landroid/os/Bundle;)V
    .registers 3

    .line 97
    invoke-super {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->onCreate(Landroid/os/Bundle;)V

    const/4 p1, 0x1

    .line 98
    iput-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsAlive:Z

    .line 99
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->getArguments()Landroid/os/Bundle;

    move-result-object p1

    const-string v0, "content"

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p1

    check-cast p1, Ltr/com/hurriyet/androidsdk/model/content/Content;

    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;

    .line 100
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->getArguments()Landroid/os/Bundle;

    move-result-object p1

    const-string v0, "list_position"

    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mListPosition:I

    return-void
.end method

.method public onDestroy()V
    .registers 2

    .line 429
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    if-eqz v0, :cond_7

    .line 430
    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->destroy()V

    .line 432
    :cond_7
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    if-eqz v0, :cond_e

    .line 433
    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->destroy()V

    :cond_e
    const/4 v0, 0x0

    .line 435
    iput-boolean v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsAlive:Z

    .line 436
    invoke-super {p0}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->onDestroy()V

    return-void
.end method

.method public onPause()V
    .registers 2

    .line 417
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    if-eqz v0, :cond_7

    .line 418
    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->pause()V

    .line 420
    :cond_7
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    if-eqz v0, :cond_e

    .line 421
    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->pause()V

    :cond_e
    const/4 v0, 0x1

    .line 423
    iput-boolean v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsPaused:Z

    .line 424
    invoke-super {p0}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->onPause()V

    return-void
.end method

.method public onResume()V
    .registers 5

    .line 380
    invoke-super {p0}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->onResume()V

    .line 382
    iget-boolean v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsPaused:Z

    if-nez v0, :cond_1d

    .line 383
    invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetHelper;->checkInternetConnection()Z

    move-result v0

    if-eqz v0, :cond_1d

    .line 384
    invoke-static {}, Lcom/appcore/CoreApp;->get()Lcom/appcore/CoreApp;

    move-result-object v0

    iget-object v0, v0, Lcom/appcore/CoreApp;->mHandler:Landroid/os/Handler;

    new-instance v1, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$5;

    invoke-direct {v1, p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$5;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 394
    :cond_1d
    invoke-virtual {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->getParentFragment()Landroidx/fragment/app/Fragment;

    move-result-object v0

    check-cast v0, Lhurriyet/mobil/android/hurriyet/fragments/ContentDetailFragment;

    iget v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mListPosition:I

    invoke-virtual {v0, v1, p0}, Lhurriyet/mobil/android/hurriyet/fragments/ContentDetailFragment;->putFragment(ILandroidx/fragment/app/Fragment;)V

    .line 396
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->bannerAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    if-eqz v0, :cond_2f

    .line 397
    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->resume()V

    .line 399
    :cond_2f
    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->rectangleAdView:Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;

    if-eqz v0, :cond_36

    .line 400
    invoke-virtual {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/HurriyetAdView;->resume()V

    :cond_36
    return-void
.end method

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

    .line 111
    invoke-super {p0, p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V

    .line 112
    invoke-direct {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->initViews(Landroid/view/View;)V

    .line 113
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->setListeners()V

    .line 115
    iget-boolean p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mIsPaused:Z

    if-eqz p1, :cond_11

    .line 116
    invoke-direct {p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->setData()V

    goto :goto_1c

    .line 118
    :cond_11
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    const/4 p2, 0x4

    invoke-virtual {p1, p2}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setVisibility(I)V

    .line 119
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mLoadingView:Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;

    invoke-virtual {p1}, Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;->show()V

    .line 122
    :goto_1c
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mSwipeRefreshLayout:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    const/4 p2, 0x2

    new-array p2, p2, [I

    fill-array-data p2, :array_32

    invoke-virtual {p1, p2}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setColorSchemeResources([I)V

    .line 123
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->mImageContainerVg:Landroid/view/ViewGroup;

    new-instance p2, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$1;

    invoke-direct {p2, p0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment$1;-><init>(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;)V

    invoke-static {p1, p2}, Lcom/appcore/utils/helpers/UiHelpers;->notifyWhenLayoutIsReady(Landroid/view/View;Ljava/lang/Runnable;)V

    return-void

    :array_32
    .array-data 4
        0x7f060111
        0x7f06010d
    .end array-data
.end method

.method public setUserVisibleHint(Z)V
    .registers 2

    .line 406
    invoke-super {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/BaseFragment;->setUserVisibleHint(Z)V

    .line 407
    invoke-direct {p0, p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryFragment;->sendLogScreenEvent(Z)V

    return-void
.end method