c.smali
.class public abstract Lcom/imo/android/imoim/community/bearcommunity/fragment/c;
.super Lcom/imo/android/imoim/widgets/modulelayout/child/b;
.source "SourceFile"
# instance fields
.field public a:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;
.field b:Lcom/imo/android/imoim/community/community/home/HomeFeaturesMenuView$d;
.field private c:Z
.field private h:Z
.field private i:Landroid/view/View;
# direct methods
.method public constructor <init>()V
.registers 2
.line 14
invoke-direct {p0}, Lcom/imo/android/imoim/widgets/modulelayout/child/b;-><init>()V
const/4 v0, 0x1
.line 18
iput-boolean v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->c:Z
.line 19
iput-boolean v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->h:Z
return-void
.end method
# virtual methods
.method public final a(Landroid/view/ViewGroup;)Landroid/view/View;
.registers 5
const-string v0, "parent"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 35
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object v0
.line 36
invoke-virtual {p0}, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->e()I
move-result v1
const/4 v2, 0x0
.line 34
invoke-static {v0, v1, p1, v2}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->i:Landroid/view/View;
if-eqz v0, :cond_19
.line 40
invoke-virtual {p0, v0}, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->a(Landroid/view/View;)Ljava/lang/Object;
.line 41
:cond_19
iget-object v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->i:Landroid/view/View;
if-nez v0, :cond_26
new-instance v0, Landroid/view/View;
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object p1
invoke-direct {v0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V
:cond_26
return-object v0
.end method
.method public abstract a(Landroid/view/View;)Ljava/lang/Object;
.end method
.method public final varargs a(Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;I[Ljava/lang/Object;)V
.registers 5
const-string v0, "fragment"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "data"
invoke-static {p3, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 23
array-length v0, p3
invoke-static {p3, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v0
invoke-super {p0, p1, p2, v0}, Lcom/imo/android/imoim/widgets/modulelayout/child/b;->a(Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;I[Ljava/lang/Object;)V
.line 24
array-length p1, p3
const/4 p2, 0x0
const/4 v0, 0x1
if-nez p1, :cond_19
const/4 p1, 0x1
goto :goto_1a
:cond_19
const/4 p1, 0x0
:goto_1a
xor-int/2addr p1, v0
if-eqz p1, :cond_34
aget-object p1, p3, p2
instance-of p1, p1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;
if-eqz p1, :cond_34
.line 25
aget-object p1, p3, p2
if-eqz p1, :cond_2c
check-cast p1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;
iput-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->a:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;
goto :goto_34
:cond_2c
new-instance p1, Lkotlin/TypeCastException;
const-string p2, "null cannot be cast to non-null type com.imo.android.imoim.community.bearcommunity.CyBearHomeViewModel"
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
.line 28
:cond_34
:goto_34
array-length p1, p3
if-le p1, v0, :cond_4e
aget-object p1, p3, v0
instance-of p1, p1, Lcom/imo/android/imoim/community/community/home/HomeFeaturesMenuView$d;
if-eqz p1, :cond_4e
.line 29
aget-object p1, p3, v0
if-eqz p1, :cond_46
check-cast p1, Lcom/imo/android/imoim/community/community/home/HomeFeaturesMenuView$d;
iput-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->b:Lcom/imo/android/imoim/community/community/home/HomeFeaturesMenuView$d;
goto :goto_4e
:cond_46
new-instance p1, Lkotlin/TypeCastException;
const-string p2, "null cannot be cast to non-null type com.imo.android.imoim.community.community.home.HomeFeaturesMenuView.SimpleMenuViewListener"
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
:cond_4e
:goto_4e
return-void
.end method
.method public final a(Z)V
.registers 5
.line 60
iput-boolean p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->c:Z
.line 66
iget-boolean v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->h:Z
if-eq p1, v0, :cond_12
.line 68
invoke-virtual {p0}, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->l()Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;
move-result-object p1
.line 1037
iget-object p1, p1, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->h:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;
if-eqz p1, :cond_41
.line 68
invoke-virtual {p1}, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;->notifyDataSetChanged()V
goto :goto_41
.line 1040
:cond_12
invoke-virtual {p0}, Lcom/imo/android/imoim/widgets/modulelayout/child/b;->m()Z
move-result p1
if-nez p1, :cond_41
.line 1041
invoke-virtual {p0}, Lcom/imo/android/imoim/widgets/modulelayout/child/b;->l()Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;
move-result-object p1
if-eqz p1, :cond_41
move-object v0, p0
check-cast v0, Lcom/imo/android/imoim/widgets/modulelayout/child/a;
const-string v1, "fragment"
invoke-static {v0, v1}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 1381
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->a(Lcom/imo/android/imoim/widgets/modulelayout/child/a;)I
move-result v0
const/4 v1, -0x1
if-ltz v0, :cond_36
.line 1414
iget-object v2, p1, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->h:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;
if-eqz v2, :cond_36
invoke-virtual {v2, v0}, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;->c(I)I
move-result v0
move v1, v0
:cond_36
if-ltz v1, :cond_41
.line 1384
iget-object p1, p1, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->h:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;
if-eqz p1, :cond_41
const-string v0, "notify"
invoke-virtual {p1, v1, v0}, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;->notifyItemChanged(ILjava/lang/Object;)V
.line 74
:cond_41
:goto_41
iget-boolean p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->c:Z
iput-boolean p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->h:Z
return-void
.end method
.method public abstract e()I
.end method
.method public final i()Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;
.registers 3
.line 16
iget-object v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->a:Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;
if-nez v0, :cond_9
const-string v1, "viewModel"
invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_9
return-object v0
.end method
.method public final j()Z
.registers 2
.line 49
iget-object v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->i:Landroid/view/View;
if-eqz v0, :cond_6
const/4 v0, 0x1
return v0
:cond_6
const/4 v0, 0x0
return v0
.end method
.method public final k()I
.registers 2
.line 53
iget-boolean v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/c;->c:Z
if-eqz v0, :cond_9
invoke-super {p0}, Lcom/imo/android/imoim/widgets/modulelayout/child/b;->k()I
move-result v0
return v0
:cond_9
const/4 v0, 0x0
return v0
.end method