WalletServiceAdapter$onAttachedToRecyclerView$1.smali
.class public final Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter$onAttachedToRecyclerView$1;
.super Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter;->onAttachedToRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter;
.field final synthetic b:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter;Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/recyclerview/widget/RecyclerView$LayoutManager;",
")V"
}
.end annotation
.line 70
iput-object p1, p0, Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter$onAttachedToRecyclerView$1;->a:Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter;
iput-object p2, p0, Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter$onAttachedToRecyclerView$1;->b:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
invoke-direct {p0}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
return-void
.end method
# virtual methods
.method public final getSpanSize(I)I
.registers 3
.line 72
iget-object v0, p0, Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter$onAttachedToRecyclerView$1;->a:Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter;
invoke-virtual {v0, p1}, Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter;->getItemViewType(I)I
move-result p1
const/4 v0, 0x1
if-ne p1, v0, :cond_12
iget-object p1, p0, Lcom/imo/android/imoim/wallet/servicemodel/WalletServiceAdapter$onAttachedToRecyclerView$1;->b:Landroidx/recyclerview/widget/RecyclerView$LayoutManager;
check-cast p1, Landroidx/recyclerview/widget/GridLayoutManager;
invoke-virtual {p1}, Landroidx/recyclerview/widget/GridLayoutManager;->getSpanCount()I
move-result p1
return p1
:cond_12
return v0
.end method