ChannelProfileComponent$e.smali

.class final Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$e;
.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:Z

.field final synthetic c:Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;ZLcom/imo/android/imoim/publicchannel/ChannelProfilePage;)V
    .registers 4

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

    iput-boolean p2, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$e;->b:Z

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

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

    return-void
.end method


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

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

    .line 1462
    iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$e;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    const-string v1, "it"

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

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

    move-result v1

    invoke-static {v0, v1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->a(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;Z)V

    .line 1463
    iget-boolean v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$e;->b:Z

    if-nez v0, :cond_57

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

    move-result p1

    if-eqz p1, :cond_57

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

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

    move-result-object p1

    check-cast p1, Landroid/view/View;

    invoke-static {p1}, Lcom/imo/android/imoim/util/en;->e(Landroid/view/View;)Z

    move-result p1

    if-eqz p1, :cond_48

    .line 1465
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$e;->c:Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;

    .line 2024
    iget-wide v0, p1, Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;->r:J

    const-wide/16 v2, 0x3e8

    cmp-long p1, v0, v2

    if-gez p1, :cond_48

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

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

    move-result-object p1

    const-wide/16 v2, 0x1

    add-long/2addr v0, v2

    .line 1468
    invoke-static {v0, v1}, Lcom/imo/android/imoim/util/cy;->a(J)Ljava/lang/String;

    move-result-object v0

    .line 1467
    invoke-static {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->a(Ljava/lang/String;)Landroid/text/SpannableString;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

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

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

    invoke-static {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->d(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Lcom/imo/android/imoim/publicchannel/ChannelViewModel;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$e;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-virtual {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->h()Landroidx/lifecycle/MutableLiveData;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/publicchannel/ChannelViewModel;->a(Landroidx/lifecycle/MutableLiveData;)Landroidx/lifecycle/MutableLiveData;

    :cond_57
    return-void
.end method