100 lines
2.2 KiB
Smali
100 lines
2.2 KiB
Smali
.class public final Lg;
|
|
.super Ljava/lang/Object;
|
|
.source "java-style lambda group"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:I
|
|
|
|
.field public final synthetic e:Ljava/lang/Object;
|
|
|
|
.field public final synthetic f:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/lang/Object;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Lg;->d:I
|
|
|
|
iput-object p2, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
iput-object p3, p0, Lg;->f:Ljava/lang/Object;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onClick(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
iget p1, p0, Lg;->d:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ne p1, v1, :cond_1
|
|
|
|
iget-object p1, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
|
|
|
iget-object v1, p0, Lg;->f:Ljava/lang/Object;
|
|
|
|
check-cast v1, Lcom/discord/views/OverlayMenuView$a;
|
|
|
|
iget-object v1, v1, Lcom/discord/views/OverlayMenuView$a;->a:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_0
|
|
invoke-static {p1, v0}, Lcom/discord/views/OverlayMenuView;->c(Lcom/discord/views/OverlayMenuView;Ljava/lang/Long;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
throw v0
|
|
|
|
:cond_2
|
|
iget-object p1, p0, Lg;->e:Ljava/lang/Object;
|
|
|
|
check-cast p1, Lcom/discord/views/OverlayMenuView;
|
|
|
|
iget-object v1, p0, Lg;->f:Ljava/lang/Object;
|
|
|
|
check-cast v1, Lcom/discord/views/OverlayMenuView$a;
|
|
|
|
iget-object v1, v1, Lcom/discord/views/OverlayMenuView$a;->a:Lcom/discord/models/domain/ModelChannel;
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->getId()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_3
|
|
invoke-static {p1, v0}, Lcom/discord/views/OverlayMenuView;->b(Lcom/discord/views/OverlayMenuView;Ljava/lang/Long;)V
|
|
|
|
return-void
|
|
.end method
|