113 lines
2.3 KiB
Smali
113 lines
2.3 KiB
Smali
.class public Lcom/moji/recyclerview/ScrollEnableLinearLayoutManager;
|
|
.super Landroid/support/v7/widget/LinearLayoutManager;
|
|
.source "ScrollEnableLinearLayoutManager.java"
|
|
|
|
|
|
# instance fields
|
|
.field private a:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 15
|
|
invoke-direct {p0, p1}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 12
|
|
iput-boolean p1, p0, Lcom/moji/recyclerview/ScrollEnableLinearLayoutManager;->a:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;IZ)V
|
|
.locals 0
|
|
|
|
.line 19
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;IZ)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 12
|
|
iput-boolean p1, p0, Lcom/moji/recyclerview/ScrollEnableLinearLayoutManager;->a:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
.locals 0
|
|
|
|
.line 24
|
|
invoke-direct {p0, p1, p2, p3, p4}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 12
|
|
iput-boolean p1, p0, Lcom/moji/recyclerview/ScrollEnableLinearLayoutManager;->a:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public c(Z)V
|
|
.locals 0
|
|
|
|
.line 28
|
|
iput-boolean p1, p0, Lcom/moji/recyclerview/ScrollEnableLinearLayoutManager;->a:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f()Z
|
|
.locals 1
|
|
|
|
.line 33
|
|
iget-boolean v0, p0, Lcom/moji/recyclerview/ScrollEnableLinearLayoutManager;->a:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-super {p0}, Landroid/support/v7/widget/LinearLayoutManager;->f()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public g()Z
|
|
.locals 1
|
|
|
|
.line 38
|
|
iget-boolean v0, p0, Lcom/moji/recyclerview/ScrollEnableLinearLayoutManager;->a:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-super {p0}, Landroid/support/v7/widget/LinearLayoutManager;->g()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|