ChannelProfileComponent$k.smali

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

# interfaces
.implements Landroid/view/View$OnClickListener;


# 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


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


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

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

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

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .registers 4

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

    invoke-virtual {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    instance-of p1, p1, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;

    if-eqz p1, :cond_22

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

    invoke-virtual {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    if-eqz p1, :cond_1a

    check-cast p1, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;

    const-string v0, "20"

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;->a(Ljava/lang/String;)Lcom/imo/android/imoim/publicchannel/h/i$a;

    goto :goto_22

    :cond_1a
    new-instance p1, Lkotlin/TypeCastException;

    const-string v0, "null cannot be cast to non-null type com.imo.android.imoim.publicchannel.profile.ChannelProfileActivity"

    invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 208
    :cond_22
    :goto_22
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$k;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->e(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Ljava/lang/String;

    move-result-object p1

    sget-object v0, Lcom/imo/android/imoim/publicchannel/ad;->UN_KNOW:Lcom/imo/android/imoim/publicchannel/ad;

    const-string v1, "channel_profile"

    invoke-static {p1, v0, v1}, Lcom/imo/android/imoim/publicchannel/n;->a(Ljava/lang/String;Lcom/imo/android/imoim/publicchannel/ad;Ljava/lang/String;)Lcom/imo/android/imoim/publicchannel/n$d;

    move-result-object p1

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

    invoke-virtual {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    sget-object v1, Lcom/imo/android/imoim/publicchannel/n$f;->ENTRY_TYPE_NAVIGATION_LIST:Lcom/imo/android/imoim/publicchannel/n$f;

    invoke-static {v0, v1, p1}, Lcom/imo/android/imoim/publicchannel/n;->a(Landroid/content/Context;Lcom/imo/android/imoim/publicchannel/n$f;Lcom/imo/android/imoim/publicchannel/n$d;)V

    return-void
.end method