HurriyetNotificationsView$1.smali

.class Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "HurriyetNotificationsView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;
.end annotation

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


# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;


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

    .line 98
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;

    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V
    .registers 5

    .line 102
    invoke-super {p0, p1, p2, p3}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V

    .line 104
    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;

    # getter for: Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->notificationsRecyclerLLM:Landroidx/recyclerview/widget/LinearLayoutManager;
    invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->access$000(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;)Landroidx/recyclerview/widget/LinearLayoutManager;

    move-result-object p2

    if-eqz p2, :cond_4e

    if-eqz p1, :cond_4e

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object p2

    if-eqz p2, :cond_4e

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object p2

    instance-of p2, p2, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsViewAdapter;

    if-nez p2, :cond_1c

    goto :goto_4e

    .line 107
    :cond_1c
    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;

    # getter for: Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->notificationsRecyclerLLM:Landroidx/recyclerview/widget/LinearLayoutManager;
    invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->access$000(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;)Landroidx/recyclerview/widget/LinearLayoutManager;

    move-result-object p3

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

    move-result p3

    # setter for: Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->lastVisibleItemPosition:I
    invoke-static {p2, p3}, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->access$102(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;I)I

    .line 110
    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object p3

    check-cast p3, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsViewAdapter;

    const/4 v0, 0x0

    # invokes: Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->checkItemVisibilityAtPosition(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsViewAdapter;I)V
    invoke-static {p2, p3, v0}, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->access$200(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsViewAdapter;I)V

    .line 112
    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;

    # getter for: Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->lastVisibleItemPosition:I
    invoke-static {p2}, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->access$100(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;)I

    move-result p2

    if-lez p2, :cond_4e

    .line 113
    iget-object p2, p0, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object p1

    check-cast p1, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsViewAdapter;

    iget-object p3, p0, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView$1;->this$0:Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;

    # getter for: Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->lastVisibleItemPosition:I
    invoke-static {p3}, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->access$100(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;)I

    move-result p3

    # invokes: Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->checkItemVisibilityAtPosition(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsViewAdapter;I)V
    invoke-static {p2, p1, p3}, Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;->access$200(Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsView;Lhurriyet/mobil/android/hurriyet/views/notificationsview/HurriyetNotificationsViewAdapter;I)V

    :cond_4e
    :goto_4e
    return-void
.end method