114 lines
3.2 KiB
Smali
114 lines
3.2 KiB
Smali
.class public final Lcom/discord/views/UserListItemView;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "UserListItemView.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic h:I
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Landroid/widget/ImageView;
|
|
|
|
.field public final e:Landroid/widget/TextView;
|
|
|
|
.field public final f:Landroid/widget/TextView;
|
|
|
|
.field public final g:Lcom/discord/views/StatusView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const-string v1, "context"
|
|
|
|
invoke-static {p1, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0, p1, p2, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-virtual {p0, p2}, Landroid/widget/RelativeLayout;->setClickable(Z)V
|
|
|
|
invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
|
|
|
move-result-object p1
|
|
|
|
const v0, 0x7f0d0164
|
|
|
|
invoke-virtual {p1, v0, p0, p2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const p2, 0x7f0a0ade
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "content.findViewById(R.id.user_list_item_avatar)"
|
|
|
|
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p2, Landroid/widget/ImageView;
|
|
|
|
iput-object p2, p0, Lcom/discord/views/UserListItemView;->d:Landroid/widget/ImageView;
|
|
|
|
const p2, 0x7f0a0adf
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "content.findViewById(R.id.user_list_item_name)"
|
|
|
|
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p2, Landroid/widget/TextView;
|
|
|
|
iput-object p2, p0, Lcom/discord/views/UserListItemView;->e:Landroid/widget/TextView;
|
|
|
|
const p2, 0x7f0a0ae0
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "content.findViewById(R.i\u2026list_item_name_secondary)"
|
|
|
|
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p2, Landroid/widget/TextView;
|
|
|
|
iput-object p2, p0, Lcom/discord/views/UserListItemView;->f:Landroid/widget/TextView;
|
|
|
|
const p2, 0x7f0a0ae1
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "content.findViewById(R.id.user_list_item_status)"
|
|
|
|
invoke-static {p1, p2}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Lcom/discord/views/StatusView;
|
|
|
|
iput-object p1, p0, Lcom/discord/views/UserListItemView;->g:Lcom/discord/views/StatusView;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getUserName()Landroid/widget/TextView;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/views/UserListItemView;->e:Landroid/widget/TextView;
|
|
|
|
return-object v0
|
|
.end method
|