GiftPanel$2.smali
.class public final Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;
.super Llive/sg/bigo/svcapi/r;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Llive/sg/bigo/svcapi/r<",
"Lcom/imo/android/imoim/revenuesdk/proto/ar;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
# direct methods
.method public constructor <init>(Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;)V
.registers 2
.line 284
iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;->this$0:Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
invoke-direct {p0}, Llive/sg/bigo/svcapi/r;-><init>()V
return-void
.end method
# virtual methods
.method public synthetic lambda$onUIResponse$0$GiftPanel$2()V
.registers 2
.line 295
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;->this$0:Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
invoke-static {v0}, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;->c(Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;)V
return-void
.end method
.method public final onUIResponse(Lcom/imo/android/imoim/revenuesdk/proto/ar;)V
.registers 6
.line 287
invoke-virtual {p1}, Lcom/imo/android/imoim/revenuesdk/proto/ar;->a()J
move-result-wide v0
const-wide/16 v2, 0x3
cmp-long p1, v0, v2
if-ltz p1, :cond_51
.line 288
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;->this$0:Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
invoke-static {p1}, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;->b(Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;)Landroid/widget/TextView;
move-result-object p1
if-eqz p1, :cond_51
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;->this$0:Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
invoke-static {p1}, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;->b(Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;)Landroid/widget/TextView;
move-result-object p1
invoke-virtual {p1}, Landroid/widget/TextView;->isShown()Z
move-result p1
if-eqz p1, :cond_1f
goto :goto_51
.line 291
:cond_1f
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;->this$0:Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
invoke-static {p1}, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;->b(Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;)Landroid/widget/TextView;
move-result-object p1
const/4 v0, 0x0
invoke-virtual {p1, v0}, Landroid/widget/TextView;->setVisibility(I)V
.line 1089
invoke-static {}, Lsg/bigo/common/a;->d()Landroid/content/Context;
move-result-object p1
const-string v1, "revenue_user_info"
invoke-virtual {p1, v1, v0}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object p1
invoke-interface {p1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p1
const/4 v0, 0x1
const-string v1, "revenue_key_diamond_pop_showed"
.line 1090
invoke-interface {p1, v1, v0}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
.line 1091
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
.line 293
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;->this$0:Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;
iput-boolean v0, p1, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel;->f:Z
.line 294
new-instance p1, Lsg/bigolive/revenue64/component/gift/mvp/view/-$$Lambda$GiftPanel$2$NqrWAjlHrQRZn0afWKSD86-hHNY;
invoke-direct {p1, p0}, Lsg/bigolive/revenue64/component/gift/mvp/view/-$$Lambda$GiftPanel$2$NqrWAjlHrQRZn0afWKSD86-hHNY;-><init>(Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;)V
const-wide/16 v0, 0x7530
const-string v2, "hideDiamondTips"
invoke-static {p1, v0, v1, v2}, Lsg/bigolive/revenue64/a;->a(Ljava/lang/Runnable;JLjava/lang/String;)V
nop
:cond_51
:goto_51
return-void
.end method
.method public final bridge synthetic onUIResponse(Lsg/bigo/svcapi/IProtocol;)V
.registers 2
.line 284
check-cast p1, Lcom/imo/android/imoim/revenuesdk/proto/ar;
invoke-virtual {p0, p1}, Lsg/bigolive/revenue64/component/gift/mvp/view/GiftPanel$2;->onUIResponse(Lcom/imo/android/imoim/revenuesdk/proto/ar;)V
return-void
.end method
.method public final onUITimeout()V
.registers 3
const-string v0, "Revenue_Gift"
const-string v1, "[GiftPanel]getMyMoney fail, resCode:"
.line 302
invoke-static {v0, v1}, Lsg/bigo/log/TraceLog;->e(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method