DiamondCountComponent$2.smali
.class final Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/live/support64/component/b/a$b;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;->e()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lsg/bigo/live/support64/component/b/a$b<",
"Lsg/bigo/live/support64/component/b/a$c;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;
# direct methods
.method constructor <init>(Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;)V
.registers 2
.line 164
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent$2;->a:Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(I)V
.registers 3
.line 176
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
const-string v0, "updateDiamondCount onFail: resCode="
invoke-virtual {v0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
const-string v0, "DiamondCountComponent"
invoke-static {v0, p1}, Lcom/polly/mobile/util/f;->e(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public final synthetic a(Ljava/lang/Object;)V
.registers 7
.line 164
check-cast p1, Lsg/bigo/live/support64/component/b/a$c;
.line 1167
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v0
invoke-virtual {v0}, Lsg/bigo/live/support64/o;->o()J
move-result-wide v0
iget-wide v2, p1, Lsg/bigo/live/support64/component/b/a$c;->a:J
cmp-long v4, v0, v2
if-nez v4, :cond_27
.line 1168
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent$2;->a:Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;
invoke-static {v0}, Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;->b(Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;)Landroid/widget/TextView;
move-result-object v0
if-eqz v0, :cond_27
.line 1169
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent$2;->a:Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;
invoke-static {v0}, Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;->b(Lsg/bigo/live/support64/component/roomwidget/diamondcount/DiamondCountComponent;)Landroid/widget/TextView;
move-result-object v0
iget-wide v1, p1, Lsg/bigo/live/support64/component/b/a$c;->c:D
invoke-static {v1, v2}, Lsg/bigo/live/support64/component/roomwidget/livefinish/a;->a(D)Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
:cond_27
return-void
.end method