68 lines
1.8 KiB
Smali
68 lines
1.8 KiB
Smali
.class Lcom/moji/user/homepage/PerMothPictureAdapter$1;
|
|
.super Landroid/support/v7/widget/GridLayoutManager$SpanSizeLookup;
|
|
.source "PerMothPictureAdapter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Landroid/support/v7/widget/RecyclerView;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic b:Landroid/support/v7/widget/GridLayoutManager;
|
|
|
|
.field final synthetic c:Lcom/moji/user/homepage/PerMothPictureAdapter;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/user/homepage/PerMothPictureAdapter;Landroid/support/v7/widget/GridLayoutManager;)V
|
|
.locals 0
|
|
|
|
.line 132
|
|
iput-object p1, p0, Lcom/moji/user/homepage/PerMothPictureAdapter$1;->c:Lcom/moji/user/homepage/PerMothPictureAdapter;
|
|
|
|
iput-object p2, p0, Lcom/moji/user/homepage/PerMothPictureAdapter$1;->b:Landroid/support/v7/widget/GridLayoutManager;
|
|
|
|
invoke-direct {p0}, Landroid/support/v7/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(I)I
|
|
.locals 2
|
|
|
|
.line 135
|
|
iget-object v0, p0, Lcom/moji/user/homepage/PerMothPictureAdapter$1;->c:Lcom/moji/user/homepage/PerMothPictureAdapter;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(I)I
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
const v1, 0x7fffffff
|
|
|
|
if-ne p1, v1, :cond_1
|
|
|
|
.line 136
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/user/homepage/PerMothPictureAdapter$1;->b:Landroid/support/v7/widget/GridLayoutManager;
|
|
|
|
invoke-virtual {p1}, Landroid/support/v7/widget/GridLayoutManager;->b()I
|
|
|
|
move-result v0
|
|
|
|
:cond_1
|
|
return v0
|
|
.end method
|