apkfuckery/com.discord/smali/com/discord/views/CheckedSetting$d.smali

53 lines
1.2 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lcom/discord/views/CheckedSetting$d;
.super Ljava/lang/Object;
.source "CheckedSetting.kt"
# interfaces
2020-08-20 22:29:33 +00:00
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-08-20 22:29:33 +00:00
value = Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
2020-08-20 22:29:33 +00:00
.field public final synthetic a:Lrx/functions/Action1;
2020-05-17 12:40:10 +00:00
# direct methods
2020-08-20 22:29:33 +00:00
.method public constructor <init>(Lrx/functions/Action1;)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-08-20 22:29:33 +00:00
iput-object p1, p0, Lcom/discord/views/CheckedSetting$d;->a:Lrx/functions/Action1;
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-08-20 22:29:33 +00:00
.method public final onCheckedChanged(Landroid/widget/CompoundButton;Z)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-08-20 22:29:33 +00:00
iget-object p1, p0, Lcom/discord/views/CheckedSetting$d;->a:Lrx/functions/Action1;
2020-05-17 12:40:10 +00:00
2020-08-20 22:29:33 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-08-20 22:29:33 +00:00
invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p2
invoke-interface {p1, p2}, Lrx/functions/Action1;->call(Ljava/lang/Object;)V
:cond_0
2020-05-17 12:40:10 +00:00
return-void
.end method