.class public final Lj4/d;
.super Landroidx/recyclerview/widget/RecyclerView$e;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lj4/d$a;,
        Lj4/d$b;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/recyclerview/widget/RecyclerView$e<",
        "Landroidx/recyclerview/widget/RecyclerView$a0;",
        ">;"
    }
.end annotation


# instance fields
.field public c:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Lcom/floydwiz/gamingcenter/models/network/ChatMessage;",
            ">;"
        }
    .end annotation
.end field

.field public d:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$e;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lj4/d;->c:Ljava/util/ArrayList;

    const-string v0, ""

    iput-object v0, p0, Lj4/d;->d:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a()I
    .registers 2

    iget-object v0, p0, Lj4/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public c(I)I
    .registers 4

    iget-object v0, p0, Lj4/d;->c:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/floydwiz/gamingcenter/models/network/ChatMessage;

    invoke-virtual {p1}, Lcom/floydwiz/gamingcenter/models/network/ChatMessage;->getUid()Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_18

    iget-object v0, p0, Lj4/d;->d:Ljava/lang/String;

    const/4 v1, 0x1

    invoke-static {p1, v0, v1}, Lp9/h;->r(Ljava/lang/String;Ljava/lang/String;Z)Z

    move-result p1

    if-eqz p1, :cond_18

    return v1

    :cond_18
    const/4 p1, 0x0

    return p1
.end method

.method public d(Landroidx/recyclerview/widget/RecyclerView$a0;I)V
    .registers 4

    const-string v0, "holder"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    instance-of v0, p1, Lj4/d$a;

    if-eqz v0, :cond_1b

    check-cast p1, Lj4/d$a;

    .line 1
    iget-object v0, p1, Lj4/d$a;->t:Lk4/q;

    iget-object p1, p1, Lj4/d$a;->u:Lj4/d;

    .line 2
    iget-object p1, p1, Lj4/d;->c:Ljava/util/ArrayList;

    .line 3
    invoke-virtual {p1, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/floydwiz/gamingcenter/models/network/ChatMessage;

    invoke-virtual {v0, p1}, Lk4/q;->t0(Lcom/floydwiz/gamingcenter/models/network/ChatMessage;)V

    goto :goto_30

    .line 4
    :cond_1b
    instance-of v0, p1, Lj4/d$b;

    if-eqz v0, :cond_30

    check-cast p1, Lj4/d$b;

    .line 5
    iget-object v0, p1, Lj4/d$b;->t:Lk4/e0;

    iget-object p1, p1, Lj4/d$b;->u:Lj4/d;

    .line 6
    iget-object p1, p1, Lj4/d;->c:Ljava/util/ArrayList;

    .line 7
    invoke-virtual {p1, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/floydwiz/gamingcenter/models/network/ChatMessage;

    invoke-virtual {v0, p1}, Lk4/e0;->t0(Lcom/floydwiz/gamingcenter/models/network/ChatMessage;)V

    :cond_30
    :goto_30
    return-void
.end method

.method public e(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$a0;
    .registers 8

    const-string v0, "parent"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "inflate(LayoutInflater.f\u2026           parent, false)"

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-ne p2, v3, :cond_2a

    new-instance p2, Lj4/d$a;

    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    sget v4, Lk4/q;->O:I

    .line 1
    sget-object v4, Landroidx/databinding/g;->a:Landroidx/databinding/e;

    const v4, 0x7f0d0061

    .line 2
    invoke-static {v3, v4, p1, v2, v1}, Landroidx/databinding/ViewDataBinding;->g0(Landroid/view/LayoutInflater;ILandroid/view/ViewGroup;ZLjava/lang/Object;)Landroidx/databinding/ViewDataBinding;

    move-result-object p1

    check-cast p1, Lk4/q;

    .line 3
    invoke-static {p1, v0}, Lx/e;->e(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-direct {p2, p0, p1}, Lj4/d$a;-><init>(Lj4/d;Lk4/q;)V

    goto :goto_47

    :cond_2a
    new-instance p2, Lj4/d$b;

    invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    sget v4, Lk4/e0;->O:I

    .line 4
    sget-object v4, Landroidx/databinding/g;->a:Landroidx/databinding/e;

    const v4, 0x7f0d0082

    .line 5
    invoke-static {v3, v4, p1, v2, v1}, Landroidx/databinding/ViewDataBinding;->g0(Landroid/view/LayoutInflater;ILandroid/view/ViewGroup;ZLjava/lang/Object;)Landroidx/databinding/ViewDataBinding;

    move-result-object p1

    check-cast p1, Lk4/e0;

    .line 6
    invoke-static {p1, v0}, Lx/e;->e(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-direct {p2, p0, p1}, Lj4/d$b;-><init>(Lj4/d;Lk4/e0;)V

    :goto_47
    return-object p2
.end method
