RechargeViewModel.smali
.class public final Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;
.super Lcom/imo/android/imoim/imoout/recharge/BaseLinkdViewModel;
.source "SourceFile"
# interfaces
.implements Lcom/imo/android/imoim/imoout/recharge/coupons/a$a;
.implements Lkotlin/f/a/b;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/imo/android/imoim/imoout/recharge/BaseLinkdViewModel;",
"Lcom/imo/android/imoim/imoout/recharge/coupons/a$a;",
"Lkotlin/f/a/b<",
"Ljava/lang/Double;",
"Lkotlin/w;",
">;"
}
.end annotation
# static fields
.field public static final m:Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$a;
# instance fields
.field final a:Landroidx/lifecycle/MutableLiveData;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/MutableLiveData<",
"Lcom/imo/android/imoim/imoout/recharge/buy/pay/h<",
"Ljava/util/List<",
"Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;",
">;>;>;"
}
.end annotation
.end field
.field final b:Landroidx/lifecycle/MutableLiveData;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/MutableLiveData<",
"Ljava/lang/Double;",
">;"
}
.end annotation
.end field
.field final c:Landroidx/lifecycle/MutableLiveData;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/MutableLiveData<",
"Lcom/imo/android/imoim/imoout/recharge/proto/a/f<",
"Ljava/util/List<",
"Lcom/imo/android/imoim/imoout/recharge/proto/CountryCallConfig;",
">;>;>;"
}
.end annotation
.end field
.field final e:Landroidx/lifecycle/MutableLiveData;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/lifecycle/MutableLiveData<",
"Lcom/imo/android/imoim/imoout/recharge/buy/pay/h<",
"Ljava/lang/Boolean;",
">;>;"
}
.end annotation
.end field
.field f:Lcom/imo/android/imoim/imoout/recharge/buy/pay/d;
.field g:Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;
.field h:Lcom/imo/android/imoim/imoout/recharge/buy/pay/c;
.field final i:Lkotlin/f/a/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/f/a/b<",
"Lcom/imo/android/imoim/imoout/recharge/buy/pay/h<",
"Ljava/util/List<",
"Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;",
">;>;",
"Lkotlin/w;",
">;"
}
.end annotation
.end field
.field j:Ljava/lang/Boolean;
.field k:Ljava/lang/String;
.field l:I
.field private n:Z
.field private final o:Ljava/lang/Runnable;
.field private p:Ljava/lang/Integer;
.field private q:J
.field private r:Lcom/imo/android/imoim/imoout/recharge/coupons/b;
# direct methods
.method static constructor <clinit>()V
.registers 2
new-instance v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$a;-><init>(Lkotlin/f/b/j;)V
sput-object v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->m:Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$a;
return-void
.end method
.method public constructor <init>()V
.registers 2
.line 31
invoke-direct {p0}, Lcom/imo/android/imoim/imoout/recharge/BaseLinkdViewModel;-><init>()V
.line 33
new-instance v0, Landroidx/lifecycle/MutableLiveData;
invoke-direct {v0}, Landroidx/lifecycle/MutableLiveData;-><init>()V
iput-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a:Landroidx/lifecycle/MutableLiveData;
.line 34
new-instance v0, Landroidx/lifecycle/MutableLiveData;
invoke-direct {v0}, Landroidx/lifecycle/MutableLiveData;-><init>()V
iput-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->b:Landroidx/lifecycle/MutableLiveData;
.line 35
new-instance v0, Landroidx/lifecycle/MutableLiveData;
invoke-direct {v0}, Landroidx/lifecycle/MutableLiveData;-><init>()V
iput-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->c:Landroidx/lifecycle/MutableLiveData;
.line 36
new-instance v0, Landroidx/lifecycle/MutableLiveData;
invoke-direct {v0}, Landroidx/lifecycle/MutableLiveData;-><init>()V
iput-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->e:Landroidx/lifecycle/MutableLiveData;
.line 44
new-instance v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$i;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$i;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;)V
check-cast v0, Lkotlin/f/a/b;
iput-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->i:Lkotlin/f/a/b;
.line 51
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$h;->a:Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$h;
check-cast v0, Ljava/lang/Runnable;
iput-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->o:Ljava/lang/Runnable;
return-void
.end method
.method public static a(Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;)Ljava/lang/String;
.registers 6
if-eqz p0, :cond_5a
.line 313
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->b()Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;
move-result-object v0
if-eqz v0, :cond_5a
.line 316
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->a()Lcom/imo/android/imoim/billing/d;
move-result-object v0
if-eqz v0, :cond_21
.line 317
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->e()Ljava/lang/String;
move-result-object v1
const-string v2, "payInfo.price"
invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 318
invoke-virtual {v0}, Lcom/imo/android/imoim/billing/d;->c()Ljava/lang/String;
move-result-object v0
const-string v2, "it.priceCurrencyCode"
invoke-static {v0, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_25
:cond_21
const-string v1, "0"
const-string v0, ""
.line 320
:goto_25
new-instance v2, Ljava/lang/StringBuilder;
const-string v3, "https://"
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
sget-object v3, Lcom/imo/android/imoim/IMO;->N:Lcom/imo/android/imoim/imodns/g;
const-string v4, "pay.imolive.tv"
invoke-virtual {v3, v4}, Lcom/imo/android/imoim/imodns/g;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, "/new/third-party-pay/index.html?count="
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "&code="
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, "&listname=calloutweb&points="
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->b()Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;
move-result-object p0
iget p0, p0, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;->e:I
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_5a
const/4 p0, 0x0
return-object p0
.end method
.method private final a(ILjava/lang/String;)V
.registers 4
.line 163
iget-boolean v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->n:Z
if-eqz v0, :cond_5
return-void
.line 167
:cond_5
new-instance v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$e;
invoke-direct {v0, p0, p1}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$e;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;I)V
check-cast v0, Lcom/imo/android/imoim/imoout/recharge/proto/a/d$a;
invoke-static {p1, p2, v0}, Lcom/imo/android/imoim/imoout/recharge/proto/a/d;->a(ILjava/lang/String;Lcom/imo/android/imoim/imoout/recharge/proto/a/d$a;)Z
move-result p1
iput-boolean p1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->n:Z
return-void
.end method
.method public static synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;)V
.registers 2
const/4 v0, 0x0
.line 202
invoke-virtual {p0, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Z)V
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;ILjava/lang/String;)V
.registers 3
.line 31
invoke-direct {p0, p1, p2}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(ILjava/lang/String;)V
return-void
.end method
.method public static synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;ILjava/lang/String;I)V
.registers 6
and-int/lit8 v0, p3, 0x1
const/16 v1, 0xf
if-eqz v0, :cond_8
const/16 p1, 0xf
:cond_8
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_e
const-string p2, ""
:cond_e
const-string p3, "lastCountry"
.line 151
invoke-static {p2, p3}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
if-ne p1, v1, :cond_2a
.line 1152
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->o()Z
move-result p3
if-nez p3, :cond_2a
.line 1153
invoke-static {}, Lcom/imo/android/imoim/imoout/g;->d()Lcom/imo/android/imoim/imoout/g;
move-result-object p3
new-instance v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$d;
invoke-direct {v0, p0, p1, p2}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$d;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;ILjava/lang/String;)V
check-cast v0, Llive/sg/bigo/svcapi/e;
invoke-virtual {p3, v0}, Lcom/imo/android/imoim/imoout/g;->a(Llive/sg/bigo/svcapi/e;)V
return-void
.line 1159
:cond_2a
invoke-direct {p0, p1, p2}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(ILjava/lang/String;)V
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Lcom/imo/android/imoim/billing/d;)V
.registers 2
.line 31
invoke-direct {p0, p1}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->b(Lcom/imo/android/imoim/billing/d;)V
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Ljava/lang/Boolean;)V
.registers 2
.line 31
iput-object p1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->j:Ljava/lang/Boolean;
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Ljava/lang/Integer;)V
.registers 2
.line 31
iput-object p1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->p:Ljava/lang/Integer;
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Ljava/lang/String;)V
.registers 2
.line 31
iput-object p1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->k:Ljava/lang/String;
return-void
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;)Z
.registers 10
.line 6225
invoke-static {p1}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;)Z
move-result v0
.line 6227
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->h()Z
move-result v1
if-eqz v1, :cond_10c
if-eqz p1, :cond_10c
.line 7014
iget-object p1, p1, Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;->e:Ljava/lang/Object;
.line 6231
check-cast p1, Ljava/util/List;
if-eqz p1, :cond_10c
.line 6232
move-object v1, p1
check-cast v1, Ljava/util/Collection;
invoke-interface {v1}, Ljava/util/Collection;->isEmpty()Z
move-result v1
const/4 v2, 0x1
xor-int/2addr v1, v2
if-eqz v1, :cond_10c
const/4 v1, 0x0
.line 6234
iget-object v3, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->p:Ljava/lang/Integer;
if-eqz v3, :cond_10c
if-nez v3, :cond_27
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_27
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v3
if-lez v3, :cond_10c
const/4 v0, 0x0
.line 6235
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v3}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->a()Lcom/imo/android/imoim/billing/d;
move-result-object v3
if-eqz v3, :cond_b1
.line 6236
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v3}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->b()Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;
move-result-object v3
if-eqz v3, :cond_b1
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v3}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->b()Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;
move-result-object v3
iget v3, v3, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;->e:I
if-lez v3, :cond_b1
.line 6237
iget-object v1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->p:Ljava/lang/Integer;
if-nez v1, :cond_5b
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_5b
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
int-to-long v3, v1
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v1}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->a()Lcom/imo/android/imoim/billing/d;
move-result-object v1
const-string v5, "it[0].sku"
invoke-static {v1, v5}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Lcom/imo/android/imoim/billing/d;->b()J
move-result-wide v6
mul-long v3, v3, v6
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v1}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->b()Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;
move-result-object v1
iget v1, v1, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;->e:I
int-to-long v6, v1
div-long/2addr v3, v6
.line 6238
new-instance v1, Lorg/json/JSONObject;
invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
.line 6239
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
const-string v4, "price_amount_micros"
invoke-virtual {v1, v4, v3}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 6240
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v3}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->a()Lcom/imo/android/imoim/billing/d;
move-result-object v3
invoke-static {v3, v5}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v3}, Lcom/imo/android/imoim/billing/d;->c()Ljava/lang/String;
move-result-object v3
const-string v4, "price_currency_code"
invoke-virtual {v1, v4, v3}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 6241
new-instance v3, Lcom/imo/android/imoim/billing/d;
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v3, v1}, Lcom/imo/android/imoim/billing/d;-><init>(Ljava/lang/String;)V
move-object v1, v3
.line 6244
:cond_b1
new-instance v3, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;
invoke-direct {v3}, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;-><init>()V
.line 6245
iget-object p0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->p:Ljava/lang/Integer;
if-nez p0, :cond_bd
invoke-static {}, Lkotlin/f/b/o;->a()V
:cond_bd
invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
move-result p0
iput p0, v3, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;->e:I
.line 6247
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->d()Z
move-result p0
if-eqz p0, :cond_df
.line 6248
new-instance p0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v4}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->f()Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v4
invoke-direct {p0, v1, v3, v4}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;-><init>(Lcom/imo/android/imoim/billing/d;Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;Lcom/imo/android/imoim/imoout/recharge/coupons/b;)V
goto :goto_ff
.line 6250
:cond_df
new-instance p0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {v4}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->f()Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v4
invoke-direct {p0, v1, v3, v4}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;-><init>(Lcom/imo/android/imoim/billing/d;Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;Lcom/imo/android/imoim/imoout/recharge/coupons/b;)V
invoke-interface {p1, v0, p0}, Ljava/util/List;->add(ILjava/lang/Object;)V
.line 6251
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p0
sub-int/2addr p0, v2
invoke-interface {p1, p0}, Ljava/util/List;->remove(I)Ljava/lang/Object;
.line 6252
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
.line 6247
:goto_ff
invoke-interface {p1, v0, p0}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
.line 6254
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->c()V
return v2
:cond_10c
return v0
.end method
.method static a(Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;)Z
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/imo/android/imoim/imoout/recharge/buy/pay/h<",
"Ljava/util/List<",
"Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;",
">;>;)Z"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_4e
.line 6014
iget-object p0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;->e:Ljava/lang/Object;
.line 393
check-cast p0, Ljava/util/List;
if-eqz p0, :cond_4e
check-cast p0, Ljava/lang/Iterable;
.line 427
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v1, 0x1
:cond_10
:goto_10
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_4e
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;
.line 394
invoke-virtual {v2}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->b()Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;
move-result-object v3
if-eqz v3, :cond_10
.line 395
invoke-virtual {v2}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->f()Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v4
if-nez v4, :cond_33
.line 396
iget v0, v3, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;->e:I
invoke-static {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->b(I)Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v0
invoke-virtual {v2, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->a(Lcom/imo/android/imoim/imoout/recharge/coupons/b;)V
:goto_31
const/4 v0, 0x1
goto :goto_10
.line 399
:cond_33
sget-object v4, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-virtual {v2}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->f()Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v4
const-string v5, "payInfo.couponInfo"
invoke-static {v4, v5}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v4}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->c(Lcom/imo/android/imoim/imoout/recharge/coupons/b;)Z
move-result v4
if-nez v4, :cond_10
.line 400
iget v0, v3, Lcom/imo/android/imoim/imoout/recharge/proto/VRechargeInfo;->e:I
invoke-static {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->b(I)Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v0
invoke-virtual {v2, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/f;->a(Lcom/imo/android/imoim/imoout/recharge/coupons/b;)V
goto :goto_31
:cond_4e
return v0
.end method
.method public static b()Landroidx/lifecycle/LiveData;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Landroidx/lifecycle/LiveData<",
"Ljava/util/List<",
"Lcom/imo/android/imoim/imoout/recharge/coupons/b;",
">;>;"
}
.end annotation
.line 38
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->b()Landroidx/lifecycle/MutableLiveData;
move-result-object v0
check-cast v0, Landroidx/lifecycle/LiveData;
return-object v0
.end method
.method public static final synthetic b(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelProvider;
.registers 1
.line 31
invoke-static {p0}, Lcom/imo/android/common/mvvm/BaseViewModel;->a(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelProvider;
move-result-object p0
return-object p0
.end method
.method private static b(I)Lcom/imo/android/imoim/imoout/recharge/coupons/b;
.registers 2
.line 419
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {p0}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->b(I)Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object p0
return-object p0
.end method
.method private final b(Lcom/imo/android/imoim/billing/d;)V
.registers 5
.line 1062
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->c()Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v0
if-eqz v0, :cond_e
.line 136
invoke-virtual {v0}, Lcom/imo/android/imoim/imoout/recharge/coupons/b;->a()Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_10
:cond_e
const-string v0, ""
.line 137
:cond_10
iget-object v1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->h:Lcom/imo/android/imoim/imoout/recharge/buy/pay/c;
if-nez v1, :cond_19
const-string v2, "mChargeHelper"
invoke-static {v2}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_19
new-instance v2, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$b;
invoke-direct {v2, p0, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$b;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Ljava/lang/String;)V
check-cast v2, Lkotlin/f/a/b;
invoke-virtual {v1, p1, v0, v2}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/c;->a(Lcom/imo/android/imoim/billing/d;Ljava/lang/String;Lkotlin/f/a/b;)V
return-void
.end method
.method public static synthetic b(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;)V
.registers 2
const/4 v0, 0x0
.line 272
invoke-virtual {p0, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Lkotlin/f/a/b;)V
return-void
.end method
.method public static final synthetic c(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;)Ljava/lang/Runnable;
.registers 1
.line 31
iget-object p0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->o:Ljava/lang/Runnable;
return-object p0
.end method
.method public static d()Lcom/imo/android/imoim/imoout/recharge/coupons/b;
.registers 1
.line 62
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->c()Lcom/imo/android/imoim/imoout/recharge/coupons/b;
move-result-object v0
return-object v0
.end method
.method public static final synthetic d(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;)V
.registers 2
const/4 v0, 0x0
.line 31
iput-boolean v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->n:Z
return-void
.end method
.method public static i()I
.registers 1
.line 378
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->b()Landroidx/lifecycle/LiveData;
move-result-object v0
invoke-virtual {v0}, Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/List;
if-eqz v0, :cond_11
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
return v0
:cond_11
const/4 v0, 0x0
return v0
.end method
.method public static j()Z
.registers 1
.line 382
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->f()Z
move-result v0
if-nez v0, :cond_a
const/4 v0, 0x1
return v0
:cond_a
const/4 v0, 0x0
return v0
.end method
.method public static l()V
.registers 1
.line 411
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->h()V
return-void
.end method
.method public static m()Z
.registers 1
.line 415
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->g()Z
move-result v0
return v0
.end method
.method private static o()Z
.registers 2
.line 117
invoke-static {}, Lcom/imo/android/imoim/imoout/g;->d()Lcom/imo/android/imoim/imoout/g;
move-result-object v0
const-string v1, "ImooutManager.getInstance()"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {}, Lcom/imo/android/imoim/imoout/g;->e()Lcom/live/share64/d/f;
move-result-object v0
invoke-interface {v0}, Lcom/live/share64/d/f;->c()Llive/sg/bigo/svcapi/c/a;
move-result-object v0
invoke-interface {v0}, Llive/sg/bigo/svcapi/c/a;->c()Z
move-result v0
return v0
.end method
# virtual methods
.method public final a(Lcom/imo/android/imoim/billing/d;)V
.registers 4
const-string v0, "skuDetail"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 121
invoke-static {}, Lsg/bigo/common/p;->b()Z
move-result v0
if-nez v0, :cond_1a
.line 122
iget-object p1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->e:Landroidx/lifecycle/MutableLiveData;
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;->f:Lcom/imo/android/imoim/imoout/recharge/buy/pay/h$a;
const/4 v0, 0x5
const-string v1, ""
invoke-static {v0, v1}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/h$a;->a(ILjava/lang/String;)Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;
move-result-object v0
invoke-virtual {p1, v0}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
return-void
.line 126
:cond_1a
invoke-static {}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->o()Z
move-result v0
if-eqz v0, :cond_24
.line 127
invoke-direct {p0, p1}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->b(Lcom/imo/android/imoim/billing/d;)V
return-void
.line 129
:cond_24
invoke-static {}, Lcom/imo/android/imoim/imoout/g;->d()Lcom/imo/android/imoim/imoout/g;
move-result-object v0
new-instance v1, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$c;
invoke-direct {v1, p0, p1}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$c;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Lcom/imo/android/imoim/billing/d;)V
check-cast v1, Llive/sg/bigo/svcapi/e;
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/imoout/g;->a(Llive/sg/bigo/svcapi/e;)V
return-void
.end method
.method public final a(Lcom/imo/android/imoim/imoout/recharge/coupons/b;)V
.registers 3
.line 64
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
invoke-static {p1}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->a(Lcom/imo/android/imoim/imoout/recharge/coupons/b;)V
.line 65
iput-object p1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->r:Lcom/imo/android/imoim/imoout/recharge/coupons/b;
return-void
.end method
.method public final a(Lkotlin/f/a/b;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/f/a/b<",
"-",
"Ljava/lang/String;",
"Lkotlin/w;",
">;)V"
}
.end annotation
.line 273
iget-wide v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->q:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-lez v4, :cond_19
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iget-wide v2, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->q:J
sub-long/2addr v0, v2
const-wide/32 v2, 0x927c0
cmp-long v4, v0, v2
if-lez v4, :cond_19
const/4 v0, 0x0
.line 275
iput-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->k:Ljava/lang/String;
.line 278
:cond_19
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->k:Ljava/lang/String;
check-cast v0, Ljava/lang/CharSequence;
if-eqz v0, :cond_28
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_26
goto :goto_28
:cond_26
const/4 v0, 0x0
goto :goto_29
:cond_28
:goto_28
const/4 v0, 0x1
:goto_29
if-nez v0, :cond_33
if-eqz p1, :cond_32
.line 280
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->k:Ljava/lang/String;
invoke-interface {p1, v0}, Lkotlin/f/a/b;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:cond_32
return-void
.line 284
:cond_33
new-instance v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$g;
invoke-direct {v0, p0, p1}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$g;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;Lkotlin/f/a/b;)V
check-cast v0, Lcom/imo/android/imoim/imoout/recharge/proto/a/d$a;
invoke-static {v0}, Lcom/imo/android/imoim/imoout/recharge/proto/a/d;->c(Lcom/imo/android/imoim/imoout/recharge/proto/a/d$a;)Z
move-result v0
if-eqz v0, :cond_47
.line 301
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->q:J
return-void
:cond_47
if-eqz p1, :cond_4e
.line 305
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->k:Ljava/lang/String;
invoke-interface {p1, v0}, Lkotlin/f/a/b;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:cond_4e
return-void
.end method
.method public final a(Z)V
.registers 3
.line 203
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/a;->a:Lcom/imo/android/imoim/imoout/recharge/buy/pay/a;
move-object v0, p0
check-cast v0, Lkotlin/f/a/b;
invoke-static {p1, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/a;->a(ZLkotlin/f/a/b;)V
return-void
.end method
.method public final c()V
.registers 7
.line 341
iget v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->l:I
const-string v1, "mRechargeInfoListHelper"
const/4 v2, 0x0
const/4 v3, 0x1
if-eq v0, v3, :cond_77
const/4 v4, 0x2
if-eq v0, v4, :cond_d
goto/16 :goto_96
.line 346
:cond_d
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->c:Landroidx/lifecycle/MutableLiveData;
invoke-virtual {v0}, Landroidx/lifecycle/MutableLiveData;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/imoout/recharge/proto/a/f;
const/4 v5, 0x0
if-eqz v0, :cond_1d
.line 4009
iget-object v0, v0, Lcom/imo/android/imoim/imoout/recharge/proto/a/f;->b:Ljava/lang/Object;
.line 346
check-cast v0, Ljava/util/List;
goto :goto_1e
:cond_1d
move-object v0, v5
:goto_1e
check-cast v0, Ljava/util/Collection;
if-eqz v0, :cond_2b
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-eqz v0, :cond_29
goto :goto_2b
:cond_29
const/4 v0, 0x0
goto :goto_2c
:cond_2b
:goto_2b
const/4 v0, 0x1
:goto_2c
if-eqz v0, :cond_32
const/4 v0, 0x3
.line 347
invoke-static {p0, v0, v5, v4}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;ILjava/lang/String;I)V
.line 350
:cond_32
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a:Landroidx/lifecycle/MutableLiveData;
invoke-virtual {v0}, Landroidx/lifecycle/MutableLiveData;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;
if-eqz v0, :cond_41
.line 4014
iget-object v0, v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;->e:Ljava/lang/Object;
.line 350
check-cast v0, Ljava/util/List;
goto :goto_42
:cond_41
move-object v0, v5
:goto_42
check-cast v0, Ljava/util/Collection;
if-eqz v0, :cond_4f
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-eqz v0, :cond_4d
goto :goto_4f
:cond_4d
const/4 v0, 0x0
goto :goto_50
:cond_4f
:goto_4f
const/4 v0, 0x1
:goto_50
if-eqz v0, :cond_5c
.line 351
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->g:Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;
if-nez v0, :cond_59
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_59
invoke-virtual {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->c()V
.line 354
:cond_5c
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->j:Ljava/lang/Boolean;
if-nez v0, :cond_63
.line 355
invoke-virtual {p0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->g()V
.line 358
:cond_63
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->k:Ljava/lang/String;
check-cast v0, Ljava/lang/CharSequence;
if-eqz v0, :cond_71
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_70
goto :goto_71
:cond_70
const/4 v3, 0x0
:cond_71
:goto_71
if-eqz v3, :cond_96
.line 4272
invoke-virtual {p0, v5}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Lkotlin/f/a/b;)V
goto :goto_96
.line 2097
:cond_77
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->g:Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;
if-nez v0, :cond_7e
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
.line 3055
:cond_7e
iget-boolean v1, v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->b:Z
if-eqz v1, :cond_86
.line 3056
invoke-virtual {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->a()V
goto :goto_96
.line 3060
:cond_86
iget-boolean v1, v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->c:Z
if-nez v1, :cond_96
.line 3061
iput-boolean v3, v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->c:Z
.line 3062
new-instance v1, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g$b;
invoke-direct {v1, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g$b;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;)V
check-cast v1, Lkotlin/f/a/b;
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->a(Lkotlin/f/a/b;)V
.line 5202
:cond_96
:goto_96
invoke-virtual {p0, v2}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Z)V
return-void
.end method
.method public final e()V
.registers 3
.line 109
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->g:Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;
if-nez v0, :cond_9
const-string v1, "mRechargeInfoListHelper"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_9
invoke-virtual {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->b()V
return-void
.end method
.method public final f()Z
.registers 3
.line 113
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->g:Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;
if-nez v0, :cond_9
const-string v1, "mRechargeInfoListHelper"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
.line 1051
:cond_9
iget-boolean v0, v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/g;->b:Z
return v0
.end method
.method public final g()V
.registers 2
.line 207
new-instance v0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$f;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel$f;-><init>(Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;)V
check-cast v0, Lcom/imo/android/imoim/imoout/recharge/proto/a/d$a;
invoke-static {v0}, Lcom/imo/android/imoim/imoout/recharge/proto/a/d;->b(Lcom/imo/android/imoim/imoout/recharge/proto/a/d$a;)V
return-void
.end method
.method public final h()Z
.registers 2
.line 269
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->j:Ljava/lang/Boolean;
if-eqz v0, :cond_9
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
:cond_9
const/4 v0, 0x0
return v0
.end method
.method public final synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.registers 4
.line 31
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->doubleValue()D
move-result-wide v0
.line 1327
iget-object p1, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->b:Landroidx/lifecycle/MutableLiveData;
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
move-result-object v0
invoke-virtual {p1, v0}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
.line 31
sget-object p1, Lkotlin/w;->a:Lkotlin/w;
return-object p1
.end method
.method public final n()V
.registers 3
.line 423
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a:Landroidx/lifecycle/MutableLiveData;
invoke-virtual {v0}, Landroidx/lifecycle/MutableLiveData;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;
invoke-static {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Lcom/imo/android/imoim/imoout/recharge/buy/pay/h;)Z
.line 424
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a:Landroidx/lifecycle/MutableLiveData;
invoke-virtual {v0}, Landroidx/lifecycle/MutableLiveData;->getValue()Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
return-void
.end method
.method public final onCleared()V
.registers 3
.line 331
invoke-super {p0}, Lcom/imo/android/imoim/imoout/recharge/BaseLinkdViewModel;->onCleared()V
.line 332
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->f:Lcom/imo/android/imoim/imoout/recharge/buy/pay/d;
if-nez v0, :cond_c
const-string v1, "mPayment"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_c
invoke-virtual {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/d;->c()V
.line 333
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/buy/pay/a;->a:Lcom/imo/android/imoim/imoout/recharge/buy/pay/a;
move-object v0, p0
check-cast v0, Lkotlin/f/a/b;
invoke-static {v0}, Lcom/imo/android/imoim/imoout/recharge/buy/pay/a;->b(Lkotlin/f/a/b;)V
.line 334
sget-object v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->i:Lcom/imo/android/imoim/imoout/recharge/coupons/a;
move-object v0, p0
check-cast v0, Lcom/imo/android/imoim/imoout/recharge/coupons/a$a;
invoke-static {v0}, Lcom/imo/android/imoim/imoout/recharge/coupons/a;->b(Lcom/imo/android/imoim/imoout/recharge/coupons/a$a;)V
const/4 v0, 0x0
.line 335
invoke-virtual {p0, v0}, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->a(Lcom/imo/android/imoim/imoout/recharge/coupons/b;)V
.line 336
iget-object v0, p0, Lcom/imo/android/imoim/imoout/recharge/buy/RechargeViewModel;->o:Ljava/lang/Runnable;
invoke-static {v0}, Lcom/imo/android/imoim/util/ec;->c(Ljava/lang/Runnable;)V
return-void
.end method