SliderPhotoGalleryV1Fragment$2.smali

.class Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$2;
.super Ljava/lang/Object;
.source "SliderPhotoGalleryV1Fragment.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;
.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/SliderPhotoGalleryV1Fragment;


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

    .line 188
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$2;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .registers 4

    .line 192
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$2;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mIsSlider:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$300(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Z

    move-result p1

    const/4 p2, 0x0

    if-eqz p1, :cond_23

    .line 193
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$2;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;

    invoke-virtual {p1}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->getParentFragment()Landroidx/fragment/app/Fragment;

    move-result-object p1

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

    iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment$2;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->mDetailContentLLM:Landroidx/recyclerview/widget/LinearLayoutManager;
    invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;->access$000(Lhurriyet/mobil/android/hurriyet/fragments/SliderPhotoGalleryV1Fragment;)Landroidx/recyclerview/widget/LinearLayoutManager;

    move-result-object v0

    invoke-virtual {v0}, Landroidx/recyclerview/widget/LinearLayoutManager;->findFirstCompletelyVisibleItemPosition()I

    move-result v0

    if-nez v0, :cond_1f

    const/4 v0, 0x1

    goto :goto_20

    :cond_1f
    const/4 v0, 0x0

    :goto_20
    invoke-virtual {p1, v0}, Lhurriyet/mobil/android/hurriyet/fragments/ContentDetailFragment;->setArrowsVisibility(Z)V

    :cond_23
    return p2
.end method