PromotionConfigAdapter.smali
.class public final Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;
.super Landroidx/recyclerview/widget/RecyclerView$Adapter;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/recyclerview/widget/RecyclerView$Adapter<",
"Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;",
">;"
}
.end annotation
# instance fields
.field a:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/imo/android/imoim/world/worldnews/task/f;",
">;"
}
.end annotation
.end field
.field private final b:I
.field private final c:I
.field private final d:I
# direct methods
.method public constructor <init>()V
.registers 3
const/4 v0, 0x0
const/4 v1, 0x1
invoke-direct {p0, v0, v1, v0}, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;-><init>(Ljava/util/List;ILkotlin/f/b/j;)V
return-void
.end method
.method public constructor <init>(Ljava/util/List;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lcom/imo/android/imoim/world/worldnews/task/f;",
">;)V"
}
.end annotation
.line 16
invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;-><init>()V
iput-object p1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->a:Ljava/util/List;
const/high16 p1, 0x3f000000 # 0.5f
.line 17
invoke-static {p1}, Lsg/bigo/common/k;->a(F)I
move-result p1
iput p1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->b:I
const/high16 p1, 0x40000000 # 2.0f
.line 18
invoke-static {p1}, Lsg/bigo/common/k;->a(F)I
move-result p1
iput p1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->c:I
const/high16 p1, 0x41200000 # 10.0f
.line 19
invoke-static {p1}, Lsg/bigo/common/k;->a(F)I
move-result p1
iput p1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->d:I
return-void
.end method
.method public synthetic constructor <init>(Ljava/util/List;ILkotlin/f/b/j;)V
.registers 4
and-int/lit8 p2, p2, 0x1
if-eqz p2, :cond_5
const/4 p1, 0x0
.line 16
:cond_5
invoke-direct {p0, p1}, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;-><init>(Ljava/util/List;)V
return-void
.end method
.method private static b(I)Landroid/graphics/drawable/Drawable;
.registers 3
const/high16 v0, 0x40a00000 # 5.0f
.line 95
invoke-static {v0}, Lsg/bigo/common/k;->a(F)I
move-result v0
.line 96
new-instance v1, Lcom/biuiteam/biui/drawable/builder/b;
invoke-direct {v1}, Lcom/biuiteam/biui/drawable/builder/b;-><init>()V
.line 97
invoke-virtual {v1}, Lcom/biuiteam/biui/drawable/builder/b;->a()Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
.line 98
invoke-virtual {v1, v0}, Lcom/biuiteam/biui/drawable/builder/b;->c(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
.line 99
invoke-virtual {v1, v0}, Lcom/biuiteam/biui/drawable/builder/b;->b(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v0
.line 100
invoke-static {p0}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result p0
invoke-virtual {v0, p0}, Lcom/biuiteam/biui/drawable/builder/b;->d(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object p0
.line 101
invoke-virtual {p0}, Lcom/biuiteam/biui/drawable/builder/b;->c()Landroid/graphics/drawable/Drawable;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final a(I)Lcom/imo/android/imoim/world/worldnews/task/f;
.registers 4
const/4 v0, 0x0
if-ltz p1, :cond_1b
.line 75
iget-object v1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->a:Ljava/util/List;
if-eqz v1, :cond_c
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
goto :goto_d
:cond_c
const/4 v1, 0x0
:goto_d
if-le p1, v1, :cond_10
goto :goto_1b
.line 78
:cond_10
iget-object v1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->a:Ljava/util/List;
if-eqz v1, :cond_1b
invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/world/worldnews/task/f;
return-object p1
:cond_1b
:goto_1b
return-object v0
.end method
.method public final getItemCount()I
.registers 2
.line 91
iget-object v0, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->a:Ljava/util/List;
if-eqz v0, :cond_9
invoke-interface {v0}, Ljava/util/List;->size()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 12
.line 16
check-cast p1, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;
const-string v0, "holder"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 1023
iget-object v0, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->a:Ljava/util/List;
if-eqz v0, :cond_207
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/imo/android/imoim/world/worldnews/task/f;
if-nez p2, :cond_15
goto/16 :goto_207
.line 1024
:cond_15
iget-object v0, p1, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;->itemView:Landroid/view/View;
.line 1025
sget v1, Lcom/imo/android/imoim/k$a;->tv_value:I
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
const-string v2, "tv_value"
invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v3, Ljava/lang/StringBuilder;
const-string v4, "+"
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
.line 1147
iget-wide v4, p2, Lcom/imo/android/imoim/world/worldnews/task/f;->b:J
.line 1025
invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
check-cast v3, Ljava/lang/CharSequence;
invoke-virtual {v1, v3}, Lcom/biuiteam/biui/view/BIUITextView;->setText(Ljava/lang/CharSequence;)V
.line 1026
sget v1, Lcom/imo/android/imoim/k$a;->tv_promote_value:I
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
const-string v3, "tv_promote_value"
invoke-static {v1, v3}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 2145
iget-wide v3, p2, Lcom/imo/android/imoim/world/worldnews/task/f;->a:J
.line 1026
invoke-static {v3, v4}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
move-result-object v3
check-cast v3, Ljava/lang/CharSequence;
invoke-virtual {v1, v3}, Lcom/biuiteam/biui/view/BIUITextView;->setText(Ljava/lang/CharSequence;)V
.line 2151
iget-boolean v1, p2, Lcom/imo/android/imoim/world/worldnews/task/f;->d:Z
const v3, 0x7f0600d6
const-string v4, "iv_fire"
const-string v5, "tv_views"
const-string v6, "cl_promote"
if-eqz v1, :cond_de
.line 3061
iget-object p1, p1, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;->itemView:Landroid/view/View;
.line 3062
sget v1, Lcom/imo/android/imoim/k$a;->cl_promote:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroidx/constraintlayout/widget/ConstraintLayout;
invoke-static {v1, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const v7, 0x7f060140
invoke-static {v7}, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->b(I)Landroid/graphics/drawable/Drawable;
move-result-object v7
invoke-virtual {v1, v7}, Landroidx/constraintlayout/widget/ConstraintLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
.line 3063
sget v1, Lcom/imo/android/imoim/k$a;->tv_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
const v7, 0x7f0600f0
invoke-static {v7}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v8
invoke-virtual {v1, v8}, Lcom/biuiteam/biui/view/BIUITextView;->setTextColor(I)V
.line 3064
sget v1, Lcom/imo/android/imoim/k$a;->tv_views:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-static {v7}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v7
invoke-virtual {v1, v7}, Lcom/biuiteam/biui/view/BIUITextView;->setTextColor(I)V
.line 3065
sget v1, Lcom/imo/android/imoim/k$a;->tv_promote_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-static {v3}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v7
invoke-virtual {v1, v7}, Lcom/biuiteam/biui/view/BIUITextView;->setTextColor(I)V
.line 3067
sget v1, Lcom/imo/android/imoim/k$a;->tv_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const/high16 v2, 0x3f800000 # 1.0f
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/view/BIUITextView;->setAlpha(F)V
.line 3068
sget v1, Lcom/imo/android/imoim/k$a;->tv_views:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-static {v1, v5}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/view/BIUITextView;->setAlpha(F)V
.line 3069
sget v1, Lcom/imo/android/imoim/k$a;->iv_fire:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/ImageView;
invoke-static {v1, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setAlpha(F)V
.line 3070
sget v1, Lcom/imo/android/imoim/k$a;->tv_promote_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-virtual {p1, v2}, Lcom/biuiteam/biui/view/BIUITextView;->setPressedAlpha(F)V
goto/16 :goto_166
.line 4047
:cond_de
iget-object p1, p1, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;->itemView:Landroid/view/View;
.line 4048
sget v1, Lcom/imo/android/imoim/k$a;->cl_promote:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroidx/constraintlayout/widget/ConstraintLayout;
invoke-static {v1, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const v7, 0x7f060142
invoke-static {v7}, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->b(I)Landroid/graphics/drawable/Drawable;
move-result-object v7
invoke-virtual {v1, v7}, Landroidx/constraintlayout/widget/ConstraintLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
.line 4049
sget v1, Lcom/imo/android/imoim/k$a;->tv_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
const v7, 0x7f0600ab
invoke-static {v7}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v8
invoke-virtual {v1, v8}, Lcom/biuiteam/biui/view/BIUITextView;->setTextColor(I)V
.line 4050
sget v1, Lcom/imo/android/imoim/k$a;->tv_views:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-static {v7}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v7
invoke-virtual {v1, v7}, Lcom/biuiteam/biui/view/BIUITextView;->setTextColor(I)V
.line 4051
sget v1, Lcom/imo/android/imoim/k$a;->tv_promote_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
const v7, 0x7f060131
invoke-static {v7}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v7
invoke-virtual {v1, v7}, Lcom/biuiteam/biui/view/BIUITextView;->setTextColor(I)V
.line 4053
sget v1, Lcom/imo/android/imoim/k$a;->tv_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-static {v1, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const v2, 0x3e4ccccd # 0.2f
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/view/BIUITextView;->setAlpha(F)V
.line 4054
sget v1, Lcom/imo/android/imoim/k$a;->tv_views:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-static {v1, v5}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const v2, 0x3e19999a # 0.15f
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/view/BIUITextView;->setAlpha(F)V
.line 4055
sget v1, Lcom/imo/android/imoim/k$a;->iv_fire:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object v1
check-cast v1, Landroid/widget/ImageView;
invoke-static {v1, v4}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
const v2, 0x3e99999a # 0.3f
invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setAlpha(F)V
.line 4056
sget v1, Lcom/imo/android/imoim/k$a;->tv_promote_value:I
invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Lcom/biuiteam/biui/view/BIUITextView;
invoke-virtual {p1, v2}, Lcom/biuiteam/biui/view/BIUITextView;->setPressedAlpha(F)V
.line 1034
:goto_166
sget p1, Lcom/imo/android/imoim/k$a;->cl_config:I
invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout;
const-string v1, "cl_config"
invoke-static {p1, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
.line 4150
iget-boolean v1, p2, Lcom/imo/android/imoim/world/worldnews/task/f;->c:Z
const/high16 v2, 0x40a00000 # 5.0f
if-eqz v1, :cond_19d
.line 5106
invoke-static {v2}, Lsg/bigo/common/k;->a(F)I
move-result v1
.line 5108
new-instance v2, Lcom/biuiteam/biui/drawable/builder/b;
invoke-direct {v2}, Lcom/biuiteam/biui/drawable/builder/b;-><init>()V
.line 5109
invoke-virtual {v2}, Lcom/biuiteam/biui/drawable/builder/b;->a()Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v2
.line 5110
invoke-virtual {v2, v1}, Lcom/biuiteam/biui/drawable/builder/b;->a(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
.line 5111
invoke-static {v3}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v2
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/drawable/builder/b;->f(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
.line 5112
iget v2, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->c:I
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/drawable/builder/b;->e(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
.line 5113
invoke-virtual {v1}, Lcom/biuiteam/biui/drawable/builder/b;->c()Landroid/graphics/drawable/Drawable;
move-result-object v1
goto :goto_1c3
.line 5118
:cond_19d
invoke-static {v2}, Lsg/bigo/common/k;->a(F)I
move-result v1
.line 5119
new-instance v2, Lcom/biuiteam/biui/drawable/builder/b;
invoke-direct {v2}, Lcom/biuiteam/biui/drawable/builder/b;-><init>()V
.line 5120
invoke-virtual {v2}, Lcom/biuiteam/biui/drawable/builder/b;->a()Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v2
.line 5121
invoke-virtual {v2, v1}, Lcom/biuiteam/biui/drawable/builder/b;->a(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
const v2, 0x7f060138
.line 5122
invoke-static {v2}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v2
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/drawable/builder/b;->f(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
.line 5123
iget v2, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->b:I
invoke-virtual {v1, v2}, Lcom/biuiteam/biui/drawable/builder/b;->e(I)Lcom/biuiteam/biui/drawable/builder/b;
move-result-object v1
.line 5124
invoke-virtual {v1}, Lcom/biuiteam/biui/drawable/builder/b;->c()Landroid/graphics/drawable/Drawable;
move-result-object v1
.line 1034
:goto_1c3
invoke-virtual {p1, v1}, Landroidx/constraintlayout/widget/ConstraintLayout;->setBackground(Landroid/graphics/drawable/Drawable;)V
.line 5150
iget-boolean p1, p2, Lcom/imo/android/imoim/world/worldnews/task/f;->c:Z
if-eqz p1, :cond_1cd
.line 1036
iget p1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->c:I
goto :goto_1cf
:cond_1cd
iget p1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->b:I
.line 1037
:goto_1cf
sget p2, Lcom/imo/android/imoim/k$a;->cl_promote:I
invoke-virtual {v0, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p2
check-cast p2, Landroidx/constraintlayout/widget/ConstraintLayout;
invoke-static {p2, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object p2
if-eqz p2, :cond_1ff
check-cast p2, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
.line 1038
iget v1, p0, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter;->d:I
iput v1, p2, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->topMargin:I
.line 1039
iput p1, p2, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->bottomMargin:I
.line 1040
invoke-virtual {p2, p1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->setMarginStart(I)V
.line 1041
invoke-virtual {p2, p1}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;->setMarginEnd(I)V
.line 1042
sget p1, Lcom/imo/android/imoim/k$a;->cl_promote:I
invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout;
invoke-static {p1, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p2, Landroid/view/ViewGroup$LayoutParams;
invoke-virtual {p1, p2}, Landroidx/constraintlayout/widget/ConstraintLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
return-void
.line 1037
:cond_1ff
new-instance p1, Lkotlin/TypeCastException;
const-string p2, "null cannot be cast to non-null type androidx.constraintlayout.widget.ConstraintLayout.LayoutParams"
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
:cond_207
:goto_207
return-void
.end method
.method public final synthetic onCreateViewHolder(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
.registers 5
const-string p2, "parent"
.line 16
invoke-static {p1, p2}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
.line 6087
invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object p2
const v0, 0x7f0b03a7
const/4 v1, 0x0
invoke-static {p2, v0, p1, v1}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;
move-result-object p1
.line 6088
new-instance p2, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;
const-string v0, "itemView"
invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p2, p1}, Lcom/imo/android/imoim/world/worldnews/task/promote/PromotionConfigAdapter$ViewHolder;-><init>(Landroid/view/View;)V
.line 16
check-cast p2, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
return-object p2
.end method