PKItemView$1.smali

.class final Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lsg/bigo/live/support64/relation/a/d;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->b(Lsg/bigo/live/support64/userinfo/UserInfoStruct;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lsg/bigo/live/support64/userinfo/UserInfoStruct;

.field final synthetic b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;


# direct methods
.method constructor <init>(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;Lsg/bigo/live/support64/userinfo/UserInfoStruct;)V
    .registers 3

    .line 160
    iput-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    iput-object p2, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->a:Lsg/bigo/live/support64/userinfo/UserInfoStruct;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final a(I)V
    .registers 3

    .line 177
    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->c(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Landroid/view/View;

    move-result-object p1

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method public final a(JB)V
    .registers 9

    .line 163
    iget-object v0, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->a:Lsg/bigo/live/support64/userinfo/UserInfoStruct;

    iget-wide v0, v0, Lsg/bigo/live/support64/userinfo/UserInfoStruct;->a:J

    const/16 v2, 0x8

    cmp-long v3, v0, p1

    if-nez v3, :cond_5d

    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->a(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Lsg/bigo/live/support64/widget/YYAvatar;

    move-result-object p1

    if-eqz p1, :cond_5d

    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->b(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Landroid/widget/TextView;

    move-result-object p1

    if-eqz p1, :cond_5d

    .line 164
    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->c(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Landroid/view/View;

    move-result-object p1

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V

    .line 165
    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->a(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Lsg/bigo/live/support64/widget/YYAvatar;

    move-result-object p1

    iget-object v0, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->a:Lsg/bigo/live/support64/userinfo/UserInfoStruct;

    iget-object v0, v0, Lsg/bigo/live/support64/userinfo/UserInfoStruct;->c:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lsg/bigo/live/support64/widget/YYAvatar;->setImageUrl(Ljava/lang/String;)V

    .line 166
    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->b(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Landroid/widget/TextView;

    move-result-object p1

    iget-object v0, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->a:Lsg/bigo/live/support64/userinfo/UserInfoStruct;

    iget-object v0, v0, Lsg/bigo/live/support64/userinfo/UserInfoStruct;->b:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 167
    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->d(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Landroid/widget/ImageView;

    move-result-object p1

    const/4 v0, 0x1

    if-eq p3, v0, :cond_59

    iget-object p3, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->a:Lsg/bigo/live/support64/userinfo/UserInfoStruct;

    iget-wide v0, p3, Lsg/bigo/live/support64/userinfo/UserInfoStruct;->a:J

    .line 168
    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object p3

    invoke-virtual {p3}, Lsg/bigo/live/support64/o;->p()J

    move-result-wide v3

    cmp-long p3, v0, v3

    if-nez p3, :cond_58

    goto :goto_59

    :cond_58
    const/4 v2, 0x0

    .line 167
    :cond_59
    :goto_59
    invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    return-void

    .line 171
    :cond_5d
    iget-object p1, p0, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView$1;->b:Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;

    invoke-static {p1}, Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;->c(Lsg/bigo/live/support64/micconnect/multi/view/PKItemView;)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method