a$b.smali
.class public final Lyj/a$b;
.super Ljava/lang/Object;
.source "LoginScopeTestActivity.kt"
# interfaces
.implements Landroidx/lifecycle/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lyj/a;-><init>()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Landroidx/lifecycle/Observer<",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
# static fields
.field public static final a:Lyj/a$b;
# direct methods
.method public static constructor <clinit>()V
.registers 1
new-instance v0, Lyj/a$b;
invoke-direct {v0}, Lyj/a$b;-><init>()V
sput-object v0, Lyj/a$b;->a:Lyj/a$b;
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Ljava/lang/Boolean;)V
.registers 12
const-string v0, "isLogin"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_27
sget-object v0, Lcom/shopee/foody/driver/widgets/ToastUtil;->a:Lcom/shopee/foody/driver/widgets/ToastUtil;
sget-object p1, Ljd/b;->c:Ljd/b$a;
invoke-virtual {p1}, Ljd/b$a;->a()Landroid/content/Context;
move-result-object v1
const/16 v3, 0xbb8
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
const/16 v8, 0x78
const/4 v9, 0x0
const-string v2, "login"
invoke-static/range {v0 .. v9}, Lcom/shopee/foody/driver/widgets/ToastUtil;->a(Lcom/shopee/foody/driver/widgets/ToastUtil;Landroid/content/Context;Ljava/lang/String;ILcom/shopee/foody/driver/widgets/ToastUtil$ToastIconType;IIIILjava/lang/Object;)V
sget-object p1, Lqh/g;->b:Lqh/g;
invoke-virtual {p1}, Lqh/g;->b()V
goto :goto_42
:cond_27
sget-object v0, Lcom/shopee/foody/driver/widgets/ToastUtil;->a:Lcom/shopee/foody/driver/widgets/ToastUtil;
sget-object p1, Ljd/b;->c:Ljd/b$a;
invoke-virtual {p1}, Ljd/b$a;->a()Landroid/content/Context;
move-result-object v1
const/16 v3, 0xbb8
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
const/16 v8, 0x78
const/4 v9, 0x0
const-string v2, "logout"
invoke-static/range {v0 .. v9}, Lcom/shopee/foody/driver/widgets/ToastUtil;->a(Lcom/shopee/foody/driver/widgets/ToastUtil;Landroid/content/Context;Ljava/lang/String;ILcom/shopee/foody/driver/widgets/ToastUtil$ToastIconType;IIIILjava/lang/Object;)V
sget-object p1, Lqh/g;->b:Lqh/g;
invoke-virtual {p1}, Lqh/g;->close()V
:goto_42
return-void
.end method
.method public bridge synthetic onChanged(Ljava/lang/Object;)V
.registers 2
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p0, p1}, Lyj/a$b;->a(Ljava/lang/Boolean;)V
return-void
.end method