SliderPhotoGalleryV1Fragment$4.smali
.class Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;
.super Ltr/com/hurriyet/androidsdk/callback/ContentCallback;
.source "SliderPhotoGalleryV1Fragment.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->requestData()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field private publisherRequestConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)V
.registers 2
.line 224
iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
invoke-direct {p0}, Ltr/com/hurriyet/androidsdk/callback/ContentCallback;-><init>()V
return-void
.end method
.method private getPublisherRequestConfigurations()Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
.registers 3
.line 381
new-instance v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
invoke-direct {v0}, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;-><init>()V
iput-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->publisherRequestConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
.line 382
iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {v1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object v1
iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->categoryName:Ljava/lang/String;
iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->mCategoryName:Ljava/lang/String;
.line 383
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->publisherRequestConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {v1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object v1
iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->id:Ljava/lang/String;
iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->mContentID:Ljava/lang/String;
.line 384
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->publisherRequestConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {v1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object v1
iget-object v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->detailURL:Ljava/lang/String;
iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->mContentUrl:Ljava/lang/String;
.line 385
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->publisherRequestConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
invoke-static {}, Lhurriyet/mobil/android/hurriyet/utils/SharedPreferencesHelper;->getUserId()Ljava/lang/String;
move-result-object v1
iput-object v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->mHurPassID:Ljava/lang/String;
.line 386
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->publisherRequestConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {v1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object v1
iget-boolean v1, v1, Ltr/com/hurriyet/androidsdk/model/content/Content;->notfamilysafe:Z
iput-boolean v1, v0, Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;->mNotFamilySafe:Z
.line 387
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->publisherRequestConfigurations:Lhurriyet/mobil/android/hurriyet/features/ads/PublisherRequestConfigurations;
return-object v0
.end method
# virtual methods
.method public onFailure(Ltr/com/hurriyet/androidsdk/model/ErrorResponse;)V
.registers 2
.line 374
:try_start_0
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mLoadingView:Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;
invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$1000(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;
move-result-object p1
invoke-virtual {p1}, Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;->hide()V
:try_end_9
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_9} :catch_a
goto :goto_e
:catch_a
move-exception p1
.line 376
invoke-static {p1}, Lcom/appcore/utils/L;->ex(Ljava/lang/Exception;)V
:goto_e
return-void
.end method
.method public onSuccessFeed(Ljava/lang/String;Ltr/com/hurriyet/androidsdk/model/content/Content;Ljava/util/ArrayList;Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)V
.registers 14
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ltr/com/hurriyet/androidsdk/model/content/Content;",
"Ljava/util/ArrayList<",
"Ltr/com/hurriyet/androidsdk/model/content/Feed;",
">;",
"Ljava/util/ArrayList<",
"Ltr/com/hurriyet/androidsdk/response/init/Menu;",
">;",
"Ltr/com/hurriyet/androidsdk/response/content/DataLayer;",
")V"
}
.end annotation
if-nez p3, :cond_3
return-void
.line 232
:cond_3
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
invoke-virtual {p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->isViewDestroyed()Z
move-result p1
if-eqz p1, :cond_c
return-void
.line 236
:cond_c
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
sget-object p4, Ltr/com/hurriyet/androidsdk/model/content/AdType;->BANNER:Ltr/com/hurriyet/androidsdk/model/content/AdType;
# invokes: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->getAdFeed(Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
invoke-static {p1, p3, p4}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$500(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
move-result-object p1
.line 237
iget-object p4, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
sget-object v0, Ltr/com/hurriyet/androidsdk/model/content/AdType;->RECTANGLE:Ltr/com/hurriyet/androidsdk/model/content/AdType;
# invokes: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->getAdFeed(Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
invoke-static {p4, p3, v0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$500(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
move-result-object p4
.line 238
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
sget-object v1, Ltr/com/hurriyet/androidsdk/model/content/AdType;->TABOOLAADS:Ltr/com/hurriyet/androidsdk/model/content/AdType;
# invokes: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->getTaboolaAdFeed(Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/TaboolaAdFeed;
invoke-static {v0, p3, v1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$600(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;Ljava/util/ArrayList;Ltr/com/hurriyet/androidsdk/model/content/AdType;)Ltr/com/hurriyet/androidsdk/model/content/TaboolaAdFeed;
move-result-object v0
.line 240
iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# setter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->detailContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {v1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$702(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;Ltr/com/hurriyet/androidsdk/model/content/Content;)Ltr/com/hurriyet/androidsdk/model/content/Content;
const/4 v1, 0x0
if-eqz p2, :cond_13b
.line 247
iget-object v2, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->title:Ljava/lang/String;
const-string v3, ""
const/4 v4, 0x0
if-eq v2, v3, :cond_36
.line 248
iget-object v2, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->title:Ljava/lang/String;
goto :goto_37
:cond_36
move-object v2, v4
.line 251
:goto_37
iget-object v5, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->description:Ljava/lang/String;
if-eq v5, v3, :cond_3d
.line 252
iget-object v4, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->description:Ljava/lang/String;
:cond_3d
if-eqz v2, :cond_51
.line 256
new-instance v3, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailHeaderDTO;
invoke-direct {v3}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailHeaderDTO;-><init>()V
.line 257
invoke-virtual {v3, v2}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailHeaderDTO;->setTitle(Ljava/lang/String;)V
.line 258
invoke-virtual {v3, v4}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailHeaderDTO;->setDescription(Ljava/lang/String;)V
.line 259
iget-object v4, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object v4, v4, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-interface {v4, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
.line 262
:cond_51
iget-object v3, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->files:Ljava/util/ArrayList;
if-eqz v3, :cond_13b
.line 265
iget-object v3, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->files:Ljava/util/ArrayList;
invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v3
const/4 v4, 0x0
:goto_5c
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v5
if-eqz v5, :cond_13b
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v5
check-cast v5, Ltr/com/hurriyet/androidsdk/response/content/Files;
.line 266
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getContentType()Ljava/lang/String;
move-result-object v6
invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v6
if-nez v6, :cond_af
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getContentType()Ljava/lang/String;
move-result-object v6
const-string v7, "AdNews"
invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_7f
goto :goto_af
.line 296
:cond_7f
new-instance v6, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailAdsDTO;
invoke-direct {v6}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailAdsDTO;-><init>()V
.line 298
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getAdUnitPath()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailAdsDTO;->setAdUnitPath(Ljava/lang/String;)V
.line 299
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getContentType()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailAdsDTO;->setContentType(Ljava/lang/String;)V
.line 300
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getIxName()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailAdsDTO;->setIxName(Ljava/lang/String;)V
.line 301
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getName()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailAdsDTO;->setName(Ljava/lang/String;)V
.line 302
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getDataLayer()Ltr/com/hurriyet/androidsdk/response/content/DataLayer;
move-result-object v5
invoke-virtual {v6, v5}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailAdsDTO;->setDataLayer(Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)V
.line 304
iget-object v5, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object v5, v5, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-interface {v5, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_5c
:cond_af
:goto_af
add-int/lit8 v4, v4, 0x1
.line 270
new-instance v6, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;
invoke-direct {v6}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;-><init>()V
.line 271
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getTitle()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setTitle(Ljava/lang/String;)V
.line 272
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getArticleid()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setArticleid(Ljava/lang/String;)V
.line 273
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getDesc()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setDesc(Ljava/lang/String;)V
.line 274
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getFileName()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setFileName(Ljava/lang/String;)V
.line 275
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getQueryParam()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setQueryParam(Ljava/lang/String;)V
.line 276
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getEmbedVideo()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setEmbedVideo(Ljava/lang/String;)V
.line 278
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getIxName()Ljava/lang/String;
move-result-object v7
invoke-virtual {v5, v7}, Ltr/com/hurriyet/androidsdk/response/content/Files;->setIxName(Ljava/lang/String;)V
.line 279
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getVideo()Ltr/com/hurriyet/androidsdk/response/content/HtmlNode;
move-result-object v7
invoke-virtual {v5, v7}, Ltr/com/hurriyet/androidsdk/response/content/Files;->setVideo(Ltr/com/hurriyet/androidsdk/response/content/HtmlNode;)V
.line 280
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getName()Ljava/lang/String;
move-result-object v7
invoke-virtual {v5, v7}, Ltr/com/hurriyet/androidsdk/response/content/Files;->setName(Ljava/lang/String;)V
.line 282
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;
move-result-object v7
if-eqz v7, :cond_132
.line 283
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;
move-result-object v7
invoke-virtual {v7}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->isGif()Z
move-result v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setGif(Z)V
.line 284
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;
move-result-object v7
invoke-virtual {v7}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getPrefix()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setPrefix(Ljava/lang/String;)V
.line 285
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;
move-result-object v7
invoke-virtual {v7}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->getSuffix()Ljava/lang/String;
move-result-object v7
invoke-virtual {v6, v7}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setSuffix(Ljava/lang/String;)V
.line 286
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Files;->getPhoto()Ltr/com/hurriyet/androidsdk/response/content/Photo;
move-result-object v5
invoke-virtual {v5}, Ltr/com/hurriyet/androidsdk/response/content/Photo;->isRealPhoto()Z
move-result v5
invoke-virtual {v6, v5}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setRealPhoto(Z)V
.line 287
invoke-virtual {v6, v2}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setNewsTitle(Ljava/lang/String;)V
.line 288
iget-object v5, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->shareURL:Ljava/lang/String;
invoke-virtual {v6, v5}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setShareUrl(Ljava/lang/String;)V
.line 289
invoke-virtual {v6, v4}, Lhurriyet/mobil/android/hurriyet/model/GalleryDetailImageDTO;->setSharePosition(I)V
.line 292
:cond_132
iget-object v5, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object v5, v5, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-interface {v5, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto/16 :goto_5c
.line 310
:cond_13b
invoke-virtual {p3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object p3
:cond_13f
:goto_13f
invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_15b
invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ltr/com/hurriyet/androidsdk/model/content/Feed;
.line 311
instance-of v3, v2, Ltr/com/hurriyet/androidsdk/model/content/AdFeed;
if-nez v3, :cond_13f
instance-of v3, v2, Ltr/com/hurriyet/androidsdk/model/content/TaboolaAdFeed;
if-nez v3, :cond_13f
.line 312
iget-object v3, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object v3, v3, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_13f
:cond_15b
if-eqz p1, :cond_164
.line 317
iget-object p3, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object p3, p3, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-interface {p3, v1, p1}, Ljava/util/List;->add(ILjava/lang/Object;)V
:cond_164
if-eqz p4, :cond_16d
.line 321
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object p1, p1, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-interface {p1, p4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_16d
if-eqz v0, :cond_1af
.line 327
iget-object p1, v0, Ltr/com/hurriyet/androidsdk/model/content/TaboolaAdFeed;->properties:Ljava/util/List;
if-eqz p1, :cond_1af
.line 331
iget-object p1, v0, Ltr/com/hurriyet/androidsdk/model/content/TaboolaAdFeed;->properties:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_179
:goto_179
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result p3
if-eqz p3, :cond_1a6
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p3
check-cast p3, Ltr/com/hurriyet/androidsdk/response/content/ContentProperty;
.line 332
iget-object p4, p3, Ltr/com/hurriyet/androidsdk/response/content/ContentProperty;->ixName:Ljava/lang/String;
if-eqz p4, :cond_179
.line 333
iget-object p4, p3, Ltr/com/hurriyet/androidsdk/response/content/ContentProperty;->ixName:Ljava/lang/String;
const-string v2, "DisplayStatus"
invoke-virtual {p4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p4
if-eqz p4, :cond_179
.line 334
iget-object p4, p3, Ltr/com/hurriyet/androidsdk/response/content/ContentProperty;->property:Ltr/com/hurriyet/androidsdk/response/content/PropertyValue;
if-eqz p4, :cond_179
.line 335
iget-object p3, p3, Ltr/com/hurriyet/androidsdk/response/content/ContentProperty;->property:Ltr/com/hurriyet/androidsdk/response/content/PropertyValue;
iget-object p3, p3, Ltr/com/hurriyet/androidsdk/response/content/PropertyValue;->value:Ljava/lang/String;
const-string p4, "A\u00e7\u0131k"
invoke-virtual {p3, p4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p3
if-eqz p3, :cond_179
const/4 p3, 0x1
const/4 v1, 0x1
goto :goto_179
:cond_1a6
if-eqz v1, :cond_1af
.line 344
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object p1, p1, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
.line 349
:cond_1af
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# invokes: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->initializeDataLayer(Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)V
invoke-static {p1, p5}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$800(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)V
.line 350
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object p1, p1, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->galleryAdapter:Lhurriyet/mobil/android/hurriyet/adapters/NewsDetailGalleryAdapter;
iget-object p3, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {p3}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object p3
iget-object p3, p3, Ltr/com/hurriyet/androidsdk/model/content/Content;->detailURL:Ljava/lang/String;
invoke-virtual {p1, p3}, Lhurriyet/mobil/android/hurriyet/adapters/NewsDetailGalleryAdapter;->setNewsUrl(Ljava/lang/String;)V
.line 351
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object p1, p1, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->galleryAdapter:Lhurriyet/mobil/android/hurriyet/adapters/NewsDetailGalleryAdapter;
iget-object p3, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object p3, p3, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->contentItems:Ljava/util/List;
invoke-virtual {p1, p3}, Lhurriyet/mobil/android/hurriyet/adapters/NewsDetailGalleryAdapter;->setItems(Ljava/util/List;)V
if-eqz p2, :cond_213
.line 355
:try_start_1d0
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# setter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$102(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;Ltr/com/hurriyet/androidsdk/model/content/Content;)Ltr/com/hurriyet/androidsdk/model/content/Content;
.line 356
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object p1
iput-object p5, p1, Ltr/com/hurriyet/androidsdk/model/content/Content;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;
.line 357
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# invokes: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->setData()V
invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$900(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)V
.line 359
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object p2
iget-object p2, p2, Ltr/com/hurriyet/androidsdk/model/content/Content;->dataLayer:Ltr/com/hurriyet/androidsdk/response/content/DataLayer;
# invokes: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->setTempDataLayer(Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)Ltr/com/hurriyet/androidsdk/response/content/DataLayer;
invoke-static {p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$200(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)Ltr/com/hurriyet/androidsdk/response/content/DataLayer;
move-result-object p1
.line 360
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
iget-object p3, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mContent:Ltr/com/hurriyet/androidsdk/model/content/Content;
invoke-static {p3}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$100(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Ltr/com/hurriyet/androidsdk/model/content/Content;
move-result-object p3
iget-object p3, p3, Ltr/com/hurriyet/androidsdk/model/content/Content;->detailURL:Ljava/lang/String;
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p3, "/1"
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
const-string p3, "RecyclerView Item"
.line 361
invoke-static {p3, p2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 362
iput-object p2, p1, Ltr/com/hurriyet/androidsdk/response/content/DataLayer;->trackingUrl:Ljava/lang/String;
.line 363
invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/utils/HurriyetAnalytics;->logScreen(Ltr/com/hurriyet/androidsdk/response/content/DataLayer;)V
.line 365
:cond_213
iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
# getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mLoadingView:Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;
invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$1000(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;
move-result-object p1
invoke-virtual {p1}, Lhurriyet/mobil/android/hurriyet/views/HurriyetLoadingView;->hide()V
:try_end_21c
.catch Ljava/lang/Exception; {:try_start_1d0 .. :try_end_21c} :catch_21d
goto :goto_221
:catch_21d
move-exception p1
.line 367
invoke-static {p1}, Lcom/appcore/utils/L;->ex(Ljava/lang/Exception;)V
:goto_221
return-void
.end method