DiffPageRecyclerViewBindingAdapters.smali
.class public Lcom/sandboxol/common/binding/adapter/DiffPageRecyclerViewBindingAdapters;
.super Ljava/lang/Object;
.source "DiffPageRecyclerViewBindingAdapters.java"
# direct methods
.method public constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static setPageRecyclerView(Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;Lcom/sandboxol/common/widget/rv/IListLayout;Lcom/sandboxol/common/widget/rv/pagerv/PageListModel;Lcom/sandboxol/common/widget/rv/datarv/LayoutManagers$LayoutManagerFactory;Landroidx/recyclerview/widget/s$c;ZZIILcom/sandboxol/common/widget/rv/helper/ItemEnterOrExitVisibleHelper$OnScrollStatusListener;ZZ)V
.registers 22
move-object v6, p0
move-object v7, p3
move/from16 v8, p8
move-object/from16 v9, p9
if-nez p1, :cond_11
.line 1
new-instance v0, Lcom/sandboxol/common/widget/rv/pagerv/PageListLayout;
invoke-direct {v0}, Lcom/sandboxol/common/widget/rv/pagerv/PageListLayout;-><init>()V
invoke-virtual {p0, v0}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setListLayout(Lcom/sandboxol/common/widget/rv/IListLayout;)V
goto :goto_14
.line 2
:cond_11
invoke-virtual {p0, p1}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setListLayout(Lcom/sandboxol/common/widget/rv/IListLayout;)V
:goto_14
if-eqz p7, :cond_23
move-object v0, p0
move-object v1, p2
move-object v2, p4
move/from16 v3, p7
move/from16 v4, p10
move/from16 v5, p11
.line 3
invoke-virtual/range {v0 .. v5}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setModel(Lcom/sandboxol/common/widget/rv/pagerv/PageListModel;Landroidx/recyclerview/widget/s$c;IZZ)V
goto :goto_2c
:cond_23
move-object v0, p2
move-object v1, p4
move/from16 v2, p10
move/from16 v3, p11
.line 4
invoke-virtual {p0, p2, p4, v2, v3}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setModel(Lcom/sandboxol/common/widget/rv/pagerv/PageListModel;Landroidx/recyclerview/widget/s$c;ZZ)V
:goto_2c
if-nez v7, :cond_36
.line 5
invoke-static {}, Lcom/sandboxol/common/widget/rv/datarv/LayoutManagers;->linear()Lcom/sandboxol/common/widget/rv/datarv/LayoutManagers$LayoutManagerFactory;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setLayoutFactory(Lcom/sandboxol/common/widget/rv/datarv/LayoutManagers$LayoutManagerFactory;)V
goto :goto_39
.line 6
:cond_36
invoke-virtual {p0, p3}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setLayoutFactory(Lcom/sandboxol/common/widget/rv/datarv/LayoutManagers$LayoutManagerFactory;)V
:goto_39
if-eqz v8, :cond_48
.line 7
new-instance v0, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;
const/4 v1, 0x1
invoke-direct {v0, v8, v1}, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;-><init>(II)V
const/4 v1, 0x0
.line 8
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/StaggeredGridLayoutManager;->a(I)V
.line 9
invoke-virtual {p0, v0}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$i;)V
:cond_48
if-eqz v9, :cond_4d
.line 10
invoke-virtual {p0, v9}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setItemListener(Lcom/sandboxol/common/widget/rv/helper/ItemEnterOrExitVisibleHelper$OnScrollStatusListener;)V
:cond_4d
move v0, p5
.line 11
invoke-virtual {p0, p5}, Lcom/sandboxol/common/widget/rv/pagerv/DiffPageRecyclerView;->setNestedScrollingEnabled(Z)V
return-void
.end method