ChannelContentComponent$setup$1.smali
.class public final Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;
.field final synthetic b:Lkotlin/f/b/aa$a;
.field private c:Landroid/widget/TextView;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;Lkotlin/f/b/aa$a;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/f/b/aa$a;",
")V"
}
.end annotation
.line 116
iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;
iput-object p2, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->b:Lkotlin/f/b/aa$a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onPageScrollStateChanged(I)V
.registers 2
return-void
.end method
.method public final onPageScrolled(IFI)V
.registers 4
return-void
.end method
.method public final onPageSelected(I)V
.registers 5
if-nez p1, :cond_f
.line 125
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;
invoke-static {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;->c(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;)Lcom/imo/android/imoim/publicchannel/view/ChannelClickToTopView;
move-result-object v0
if-eqz v0, :cond_f
const/16 v1, 0x8
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/publicchannel/view/ChannelClickToTopView;->setVisibility(I)V
.line 127
:cond_f
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->c:Landroid/widget/TextView;
const/4 v1, 0x0
if-eqz v0, :cond_1d
invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;
move-result-object v0
if-eqz v0, :cond_1d
invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setFakeBoldText(Z)V
.line 128
:cond_1d
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;
invoke-static {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;->d(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;)Lcom/ogaclejapan/smarttablayout/SmartTabLayout;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/ogaclejapan/smarttablayout/SmartTabLayout;->a(I)Landroid/view/View;
move-result-object v0
instance-of v2, v0, Landroid/widget/TextView;
if-nez v2, :cond_2c
const/4 v0, 0x0
:cond_2c
check-cast v0, Landroid/widget/TextView;
iput-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->c:Landroid/widget/TextView;
if-eqz v0, :cond_3c
.line 129
invoke-virtual {v0}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;
move-result-object v0
if-eqz v0, :cond_3c
const/4 v2, 0x1
invoke-virtual {v0, v2}, Landroid/text/TextPaint;->setFakeBoldText(Z)V
.line 130
:cond_3c
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->b:Lkotlin/f/b/aa$a;
iget-boolean v0, v0, Lkotlin/f/b/aa$a;->a:Z
if-eqz v0, :cond_47
.line 131
iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->b:Lkotlin/f/b/aa$a;
iput-boolean v1, p1, Lkotlin/f/b/aa$a;->a:Z
return-void
.line 133
:cond_47
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;
invoke-virtual {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
instance-of v0, v0, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;
if-eqz v0, :cond_6e
.line 134
iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent$setup$1;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;
invoke-virtual {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelContentComponent;->x()Landroidx/fragment/app/FragmentActivity;
move-result-object v0
if-eqz v0, :cond_66
check-cast v0, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;
if-nez p1, :cond_60
const-string p1, "18"
goto :goto_62
:cond_60
const-string p1, "17"
.line 135
:goto_62
invoke-virtual {v0, p1}, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;->a(Ljava/lang/String;)Lcom/imo/android/imoim/publicchannel/h/i$a;
goto :goto_6e
.line 134
:cond_66
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
:cond_6e
:goto_6e
return-void
.end method