64 lines
1.9 KiB
Smali
64 lines
1.9 KiB
Smali
.class public final Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter$1;
|
|
.super Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;
|
|
.source "WidgetEmojiAdapter.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter;-><init>(Landroidx/recyclerview/widget/RecyclerView;Lcom/discord/widgets/chat/input/emoji/OnEmojiSelectedListener;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter$1;->this$0:Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter;
|
|
|
|
invoke-direct {p0}, Landroidx/recyclerview/widget/GridLayoutManager$SpanSizeLookup;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getSpanSize(I)I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter$1;->this$0:Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;->getItemViewType(I)I
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter$1;->this$0:Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/emoji/WidgetEmojiAdapter;->getNumColumns()I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x1
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|