131 lines
4.1 KiB
Smali
131 lines
4.1 KiB
Smali
.class public final Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetChatListAdapterItemSystemMessage.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action3;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage;-><init>(Lcom/discord/widgets/chat/list/WidgetChatListAdapter;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T1:",
|
|
"Ljava/lang/Object;",
|
|
"T2:",
|
|
"Ljava/lang/Object;",
|
|
"T3:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/Action3<",
|
|
"Landroid/view/View;",
|
|
"Ljava/lang/Integer;",
|
|
"Lcom/discord/widgets/chat/list/entries/ChatListEntry;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $adapter:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/chat/list/WidgetChatListAdapter;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage$1;->$adapter:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call(Landroid/view/View;Ljava/lang/Integer;Lcom/discord/widgets/chat/list/entries/ChatListEntry;)V
|
|
.locals 2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
check-cast p3, Lcom/discord/widgets/chat/list/entries/MessageEntry;
|
|
|
|
invoke-virtual {p3}, Lcom/discord/widgets/chat/list/entries/MessageEntry;->getMessage()Lcom/discord/models/domain/ModelMessage;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelMessage;->getType()I
|
|
|
|
move-result p1
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_0
|
|
iget-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage$1;->$adapter:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter;->getEventHandler()Lcom/discord/widgets/chat/list/WidgetChatListAdapter$EventHandler;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p3}, Lcom/discord/widgets/chat/list/entries/MessageEntry;->getMessage()Lcom/discord/models/domain/ModelMessage;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p3, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage$1;->$adapter:Lcom/discord/widgets/chat/list/WidgetChatListAdapter;
|
|
|
|
invoke-virtual {p3}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter;->getData()Lcom/discord/widgets/chat/list/WidgetChatListAdapter$Data;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-interface {p3}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$Data;->getGuildId()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Lcom/discord/widgets/chat/list/WidgetChatListAdapter$EventHandler;->onMessageAuthorNameClicked(Lcom/discord/models/domain/ModelMessage;J)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
const-string p2, "null cannot be cast to non-null type com.discord.widgets.chat.list.entries.MessageEntry"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x7
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
check-cast p2, Ljava/lang/Integer;
|
|
|
|
check-cast p3, Lcom/discord/widgets/chat/list/entries/ChatListEntry;
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage$1;->call(Landroid/view/View;Ljava/lang/Integer;Lcom/discord/widgets/chat/list/entries/ChatListEntry;)V
|
|
|
|
return-void
|
|
.end method
|