125 lines
3.9 KiB
Smali
125 lines
3.9 KiB
Smali
|
.class public final Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage$3;
|
||
|
.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$3;->$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_1
|
||
|
|
||
|
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
|
||
|
|
||
|
const/16 p2, 0xc
|
||
|
|
||
|
if-eq p1, p2, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
iget-object p1, p0, Lcom/discord/widgets/chat/list/WidgetChatListAdapterItemSystemMessage$3;->$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$3;->$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;->onMessageAuthorClicked(Lcom/discord/models/domain/ModelMessage;J)V
|
||
|
|
||
|
:goto_0
|
||
|
return-void
|
||
|
|
||
|
:cond_1
|
||
|
new-instance p1, Lt/l;
|
||
|
|
||
|
const-string p2, "null cannot be cast to non-null type com.discord.widgets.chat.list.entries.MessageEntry"
|
||
|
|
||
|
invoke-direct {p1, p2}, Lt/l;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.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$3;->call(Landroid/view/View;Ljava/lang/Integer;Lcom/discord/widgets/chat/list/entries/ChatListEntry;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|