ChannelProfileComponent$f.smali

.class final Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

.field final synthetic b:Lkotlin/f/b/aa$a;

.field final synthetic c:Lkotlin/f/b/aa$e;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;Lkotlin/f/b/aa$a;Lkotlin/f/b/aa$e;)V
    .registers 4

    iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    iput-object p2, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->b:Lkotlin/f/b/aa$a;

    iput-object p3, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

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

    return-void
.end method


# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
    .registers 10

    .line 57
    check-cast p1, Ljava/lang/Boolean;

    if-eqz p1, :cond_c9

    .line 1375
    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    const-wide/16 v0, 0x1

    const-wide/16 v2, 0x3e8

    const/4 v4, 0x0

    const/4 v5, 0x0

    if-eqz p1, :cond_5e

    const p1, 0x77030010    # 2.6570006E33f

    .line 1376
    invoke-static {p1}, Lsg/bigo/mobile/android/aab/c/b;->a(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    const-string v6, "likeDrawable"

    .line 1377
    invoke-static {p1, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result v6

    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result v7

    invoke-virtual {p1, v5, v5, v6, v7}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1378
    iget-object v5, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-static {v5}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->n(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Landroid/widget/TextView;

    move-result-object v5

    invoke-virtual {v5, v4, p1, v4, v4}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 1379
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->b:Lkotlin/f/b/aa$a;

    iget-boolean p1, p1, Lkotlin/f/b/aa$a;->a:Z

    if-nez p1, :cond_c9

    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

    iget-wide v4, p1, Lkotlin/f/b/aa$e;->a:J

    cmp-long p1, v4, v2

    if-gez p1, :cond_c9

    .line 1380
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

    iget-wide v2, p1, Lkotlin/f/b/aa$e;->a:J

    add-long/2addr v2, v0

    iput-wide v2, p1, Lkotlin/f/b/aa$e;->a:J

    .line 1381
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->n(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Landroid/widget/TextView;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

    iget-wide v0, v0, Lkotlin/f/b/aa$e;->a:J

    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

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

    .line 1382
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->b:Lkotlin/f/b/aa$a;

    const/4 v0, 0x1

    iput-boolean v0, p1, Lkotlin/f/b/aa$a;->a:Z

    return-void

    :cond_5e
    const p1, 0x77030011    # 2.657001E33f

    .line 1385
    invoke-static {p1}, Lsg/bigo/mobile/android/aab/c/b;->a(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    const-string v6, "unlikeDrawable"

    .line 1386
    invoke-static {p1, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result v6

    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result v7

    invoke-virtual {p1, v5, v5, v6, v7}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 1387
    iget-object v6, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-static {v6}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->n(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Landroid/widget/TextView;

    move-result-object v6

    invoke-virtual {v6, v4, p1, v4, v4}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 1388
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->b:Lkotlin/f/b/aa$a;

    iget-boolean p1, p1, Lkotlin/f/b/aa$a;->a:Z

    if-eqz p1, :cond_c9

    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

    iget-wide v6, p1, Lkotlin/f/b/aa$e;->a:J

    cmp-long p1, v6, v2

    if-gez p1, :cond_c9

    .line 1389
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

    iget-wide v2, p1, Lkotlin/f/b/aa$e;->a:J

    sub-long/2addr v2, v0

    iput-wide v2, p1, Lkotlin/f/b/aa$e;->a:J

    .line 1390
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

    iget-wide v0, p1, Lkotlin/f/b/aa$e;->a:J

    const-wide/16 v2, 0x0

    cmp-long p1, v0, v2

    if-lez p1, :cond_b1

    .line 1391
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->n(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Landroid/widget/TextView;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->c:Lkotlin/f/b/aa$e;

    iget-wide v0, v0, Lkotlin/f/b/aa$e;->a:J

    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

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

    goto :goto_c5

    .line 1393
    :cond_b1
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->n(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Landroid/widget/TextView;

    move-result-object p1

    const v0, 0x7f0f0118

    new-array v1, v5, [Ljava/lang/Object;

    invoke-static {v0, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

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

    .line 1395
    :goto_c5
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$f;->b:Lkotlin/f/b/aa$a;

    iput-boolean v5, p1, Lkotlin/f/b/aa$a;->a:Z

    :cond_c9
    return-void
.end method