99 lines
3.8 KiB
Smali
99 lines
3.8 KiB
Smali
|
.class public final Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker$onStickerItemSelected$1;
|
||
|
.super Lk0/n/c/j;
|
||
|
.source "WidgetStickerPicker.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;->onStickerItemSelected(Lcom/discord/widgets/chat/input/sticker/StickerItem;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lk0/n/c/j;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"Lcom/discord/models/dsti/dto/ModelDstiPack;",
|
||
|
"Lkotlin/Unit;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic $stickerItem:Lcom/discord/widgets/chat/input/sticker/StickerItem;
|
||
|
|
||
|
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;Lcom/discord/widgets/chat/input/sticker/StickerItem;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker$onStickerItemSelected$1;->this$0:Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;
|
||
|
|
||
|
iput-object p2, p0, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker$onStickerItemSelected$1;->$stickerItem:Lcom/discord/widgets/chat/input/sticker/StickerItem;
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Lcom/discord/models/dsti/dto/ModelDstiPack;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker$onStickerItemSelected$1;->invoke(Lcom/discord/models/dsti/dto/ModelDstiPack;)V
|
||
|
|
||
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public final invoke(Lcom/discord/models/dsti/dto/ModelDstiPack;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "it"
|
||
|
|
||
|
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p1, p0, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker$onStickerItemSelected$1;->$stickerItem:Lcom/discord/widgets/chat/input/sticker/StickerItem;
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/sticker/StickerItem;->getSticker()Lcom/discord/models/dsti/dto/ModelDsti;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker$onStickerItemSelected$1;->this$0:Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;
|
||
|
|
||
|
invoke-static {v0}, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;->access$getStickerPickerListener$p(Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;)Lcom/discord/widgets/chat/input/sticker/StickerPickerListener;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {v0, p1}, Lcom/discord/widgets/chat/input/sticker/StickerPickerListener;->onStickerPicked(Lcom/discord/models/dsti/dto/ModelDsti;)V
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker$onStickerItemSelected$1;->this$0:Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;
|
||
|
|
||
|
invoke-static {v0}, Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;->access$getViewModel$p(Lcom/discord/widgets/chat/input/sticker/WidgetStickerPicker;)Lcom/discord/widgets/chat/input/sticker/StickerPickerViewModel;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/sticker/StickerPickerViewModel;->onStickerSelected(Lcom/discord/models/dsti/dto/ModelDsti;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|