ChatRoomExploreFragment$initView$1.smali

.class public final Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment$initView$1;
.super Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 86
    iput-object p1, p0, Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment$initView$1;->a:Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment;

    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 88
    iget-object v0, p0, Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment$initView$1;->a:Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment;

    invoke-static {v0}, Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment;->a(Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreFragment;)Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreListAdapter;

    move-result-object v0

    .line 1104
    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/biggroup/chatroom/explore/ChatRoomExploreListAdapter;->getItemViewType(I)I

    move-result p1

    const/4 v0, 0x1

    if-eq p1, v0, :cond_14

    const/4 v0, 0x2

    if-eq p1, v0, :cond_12

    const/4 p1, 0x0

    return p1

    :cond_12
    const/4 p1, 0x4

    return p1

    :cond_14
    const/16 p1, 0xc

    return p1
.end method