a.smali
.class public final Lcom/singbox/ui/viewholder/a;
.super Lcom/drakeet/multitype/c;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/drakeet/multitype/c<",
"Lcom/singbox/ui/viewholder/a/a;",
"Lcom/singbox/ui/viewholder/NoMoreDataViewHolder;",
">;"
}
.end annotation
# instance fields
.field private final b:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.registers 3
const/4 v0, 0x0
const/4 v1, 0x1
invoke-direct {p0, v0, v1, v0}, Lcom/singbox/ui/viewholder/a;-><init>(Ljava/lang/String;ILkotlin/f/b/j;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/String;)V
.registers 3
const-string v0, "context"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 20
invoke-direct {p0}, Lcom/drakeet/multitype/c;-><init>()V
iput-object p1, p0, Lcom/singbox/ui/viewholder/a;->b:Ljava/lang/String;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;ILkotlin/f/b/j;)V
.registers 4
and-int/lit8 p2, p2, 0x1
if-eqz p2, :cond_12
.line 19
sget p1, Lcom/singbox/common/a$g;->str_no_more_data_viewholder:I
const/4 p2, 0x0
new-array p2, p2, [Ljava/lang/Object;
invoke-static {p1, p2}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
const-string p2, "NewResourceUtils.getStri\u2026_no_more_data_viewholder)"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
:cond_12
invoke-direct {p0, p1}, Lcom/singbox/ui/viewholder/a;-><init>(Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public final synthetic a(Ljava/lang/Object;)J
.registers 4
.line 18
check-cast p1, Lcom/singbox/ui/viewholder/a/a;
const-string v0, "item"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 1035
sget p1, Lcom/singbox/common/a$e;->no_more_data:I
int-to-long v0, p1
return-wide v0
.end method
.method public final synthetic a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
.registers 4
const-string v0, "inflater"
.line 18
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "parent"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 1029
invoke-static {p1, p2}, Lcom/singbox/common/databinding/SingLayoutEmptyViewHolderBinding;->a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Lcom/singbox/common/databinding/SingLayoutEmptyViewHolderBinding;
move-result-object p1
const-string p2, "SingLayoutEmptyViewHolde\u2026(inflater, parent, false)"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 1030
iget-object p2, p1, Lcom/singbox/common/databinding/SingLayoutEmptyViewHolderBinding;->a:Landroid/widget/TextView;
const-string v0, "binding.tvNoMoreData"
invoke-static {p2, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lcom/singbox/ui/viewholder/a;->b:Ljava/lang/String;
check-cast v0, Ljava/lang/CharSequence;
invoke-virtual {p2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 1031
new-instance p2, Lcom/singbox/ui/viewholder/NoMoreDataViewHolder;
invoke-direct {p2, p1}, Lcom/singbox/ui/viewholder/NoMoreDataViewHolder;-><init>(Lcom/singbox/common/databinding/SingLayoutEmptyViewHolderBinding;)V
.line 18
check-cast p2, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
return-object p2
.end method
.method public final synthetic a(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Ljava/lang/Object;)V
.registers 4
.line 18
check-cast p1, Lcom/singbox/ui/viewholder/NoMoreDataViewHolder;
check-cast p2, Lcom/singbox/ui/viewholder/a/a;
const-string v0, "holder"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "item"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 1022
iget-object p1, p1, Lcom/singbox/ui/viewholder/NoMoreDataViewHolder;->itemView:Landroid/view/View;
const-string p2, "holder.itemView"
invoke-static {p1, p2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p1
.line 1023
instance-of p2, p1, Landroidx/recyclerview/widget/StaggeredGridLayoutManager$LayoutParams;
if-eqz p2, :cond_23
.line 1024
check-cast p1, Landroidx/recyclerview/widget/StaggeredGridLayoutManager$LayoutParams;
const/4 p2, 0x1
invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/StaggeredGridLayoutManager$LayoutParams;->setFullSpan(Z)V
:cond_23
return-void
.end method