DataRecyclerView$1.smali

.class Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView$1;
.super Landroidx/recyclerview/widget/RecyclerView$m;
.source "DataRecyclerView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView;->lastVisibleListener(Lcom/sandboxol/common/command/ReplyCommand;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView;

.field final synthetic val$layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;

.field final synthetic val$subject:Lrx/subjects/PublishSubject;


# direct methods
.method constructor <init>(Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView;Landroidx/recyclerview/widget/LinearLayoutManager;Lrx/subjects/PublishSubject;)V
    .registers 4

    .line 1
    iput-object p1, p0, Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView$1;->this$0:Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView;

    iput-object p2, p0, Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView$1;->val$layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;

    iput-object p3, p0, Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView$1;->val$subject:Lrx/subjects/PublishSubject;

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

    return-void
.end method


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

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

    .line 2
    iget-object p1, p0, Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView$1;->val$layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;

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

    move-result p1

    .line 3
    iget-object p2, p0, Lcom/sandboxol/common/widget/rv/datarv/DataRecyclerView$1;->val$subject:Lrx/subjects/PublishSubject;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {p2, p1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V

    return-void
.end method