CenterLayoutManager.smali
.class public Lhurriyet/mobil/android/hurriyet/utils/CenterLayoutManager;
.super Landroidx/recyclerview/widget/LinearLayoutManager;
.source "CenterLayoutManager.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lhurriyet/mobil/android/hurriyet/utils/CenterLayoutManager$CenterSmoothScroller;
}
.end annotation
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 2
.line 18
invoke-direct {p0, p1}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;IZ)V
.registers 4
.line 22
invoke-direct {p0, p1, p2, p3}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
.registers 5
.line 26
invoke-direct {p0, p1, p2, p3, p4}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
return-void
.end method
# virtual methods
.method public smoothScrollToPosition(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;I)V
.registers 4
.line 31
new-instance p2, Lhurriyet/mobil/android/hurriyet/utils/CenterLayoutManager$CenterSmoothScroller;
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getContext()Landroid/content/Context;
move-result-object p1
invoke-direct {p2, p1}, Lhurriyet/mobil/android/hurriyet/utils/CenterLayoutManager$CenterSmoothScroller;-><init>(Landroid/content/Context;)V
.line 32
invoke-virtual {p2, p3}, Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;->setTargetPosition(I)V
.line 33
invoke-virtual {p0, p2}, Lhurriyet/mobil/android/hurriyet/utils/CenterLayoutManager;->startSmoothScroll(Landroidx/recyclerview/widget/RecyclerView$SmoothScroller;)V
return-void
.end method