FooterVBridge$1.smali

.class final Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$1;
.super Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;-><init>(Landroidx/recyclerview/widget/RecyclerView;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroidx/recyclerview/widget/GridLayoutManager;

.field final synthetic b:Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;Landroidx/recyclerview/widget/GridLayoutManager;)V
    .registers 3

    .line 19
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$1;->b:Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$1;->a:Landroidx/recyclerview/widget/GridLayoutManager;

    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 22
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$1;->b:Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;

    .line 1013
    iget-object v0, v0, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;->e:Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;

    .line 22
    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/feeds/ui/vhadapter/VHAdapter;->getItemViewType(I)I

    move-result p1

    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$1;->b:Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;

    .line 2013
    iget v0, v0, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge;->h:I

    if-ne p1, v0, :cond_15

    .line 22
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/home/FooterVBridge$1;->a:Landroidx/recyclerview/widget/GridLayoutManager;

    invoke-virtual {p1}, Landroidx/recyclerview/widget/GridLayoutManager;->getSpanCount()I

    move-result p1

    return p1

    :cond_15
    const/4 p1, 0x1

    return p1
.end method