ChildSingleAdapter.smali

.class public final Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter;
.super Lcom/imo/android/imoim/widgets/modulelayout/child/ChildAdapter;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$ViewHolder;,
        Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/imo/android/imoim/widgets/modulelayout/child/ChildAdapter<",
        "Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$ViewHolder;",
        ">;"
    }
.end annotation


# instance fields
.field private final a:Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;


# direct methods
.method public constructor <init>(Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;)V
    .registers 2

    .line 14
    invoke-direct {p0}, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildAdapter;-><init>()V

    iput-object p1, p0, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter;->a:Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;

    return-void
.end method


# virtual methods
.method public final a(Landroid/graphics/Rect;I)V
    .registers 3

    return-void
.end method

.method public final getItemCount()I
    .registers 2

    .line 24
    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter;->a:Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;

    if-eqz v0, :cond_9

    invoke-interface {v0}, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;->k()I

    move-result v0

    return v0

    :cond_9
    const/4 v0, 0x0

    return v0
.end method

.method public final synthetic onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .registers 3

    .line 13
    check-cast p1, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$ViewHolder;

    const-string p2, "holder"

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

    .line 1020
    iget-object p1, p0, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter;->a:Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;

    if-eqz p1, :cond_e

    invoke-interface {p1}, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;->h()V

    :cond_e
    return-void
.end method

.method public final synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
    .registers 4

    const-string p2, "parent"

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

    .line 1016
    new-instance p2, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$ViewHolder;

    iget-object v0, p0, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter;->a:Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;

    if-eqz v0, :cond_11

    invoke-interface {v0, p1}, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$a;->a(Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    if-nez v0, :cond_1a

    :cond_11
    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_1a
    invoke-direct {p2, v0}, Lcom/imo/android/imoim/widgets/modulelayout/child/ChildSingleAdapter$ViewHolder;-><init>(Landroid/view/View;)V

    .line 13
    check-cast p2, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    return-object p2
.end method