52 lines
1.2 KiB
Smali
52 lines
1.2 KiB
Smali
|
.class final Lcom/discord/views/CheckedSetting$f;
|
||
|
.super Ljava/lang/Object;
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic zc:Lrx/functions/Action1;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lrx/functions/Action1;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/views/CheckedSetting$f;->zc:Lrx/functions/Action1;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final onCheckedChanged(Landroid/widget/CompoundButton;Z)V
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p1, p0, Lcom/discord/views/CheckedSetting$f;->zc:Lrx/functions/Action1;
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
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
|
||
|
return-void
|
||
|
.end method
|