ParentFragment$initRecyclerView$2.smali

.class public final Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/recyclerview/widget/RecyclerView$OnChildAttachStateChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 92
    iput-object p1, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

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

    return-void
.end method


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

    const-string v0, "view"

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

    .line 95
    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

    .line 1035
    iget-object v0, v0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->g:Landroidx/recyclerview/widget/RecyclerView;

    if-eqz v0, :cond_62

    .line 95
    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

    .line 2035
    iget-object v0, v0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->g:Landroidx/recyclerview/widget/RecyclerView;

    const/4 v1, 0x0

    if-eqz v0, :cond_17

    .line 95
    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    goto :goto_18

    :cond_17
    move-object v0, v1

    :goto_18
    if-eqz v0, :cond_62

    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

    .line 2037
    iget-object v0, v0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->h:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;

    if-nez v0, :cond_21

    goto :goto_62

    .line 98
    :cond_21
    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

    .line 3035
    iget-object v0, v0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->g:Landroidx/recyclerview/widget/RecyclerView;

    if-nez v0, :cond_2a

    .line 98
    invoke-static {}, Lkotlin/f/b/o;->a()V

    :cond_2a
    invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView;->getChildAdapterPosition(Landroid/view/View;)I

    move-result p1

    .line 99
    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

    .line 4035
    iget-object v0, v0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->g:Landroidx/recyclerview/widget/RecyclerView;

    if-nez v0, :cond_37

    .line 99
    invoke-static {}, Lkotlin/f/b/o;->a()V

    :cond_37
    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    if-nez v0, :cond_40

    invoke-static {}, Lkotlin/f/b/o;->a()V

    :cond_40
    invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->getItemViewType(I)I

    move-result v0

    .line 100
    sget-object v2, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter$a;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter$a;

    invoke-static {v0}, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter$a;->b(I)I

    move-result v0

    .line 101
    iget-object v2, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

    .line 4037
    iget-object v2, v2, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->h:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;

    if-eqz v2, :cond_54

    .line 101
    invoke-virtual {v2, v0}, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;->a(I)Lcom/imo/android/imoim/widgets/modulelayout/child/ChildAdapter;

    move-result-object v1

    :cond_54
    if-eqz v1, :cond_62

    .line 102
    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment$initRecyclerView$2;->a:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;

    .line 5037
    iget-object v0, v0, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentFragment;->h:Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;

    if-nez v0, :cond_5f

    .line 102
    invoke-static {}, Lkotlin/f/b/o;->a()V

    :cond_5f
    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/widgets/modulelayout/parent/ParentAdapter;->b(I)I

    :cond_62
    :goto_62
    return-void
.end method

.method public final onChildViewDetachedFromWindow(Landroid/view/View;)V
    .registers 3

    const-string v0, "view"

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

    return-void
.end method