529 lines
18 KiB
Smali
529 lines
18 KiB
Smali
.class public final Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;
|
|
.super Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;
|
|
.source "CallParticipantsAdapter.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "ViewHolderUser"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder<",
|
|
"Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;",
|
|
"Lcom/discord/utilities/mg_recycler/MGRecyclerDataPayload;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final avatar:Lcom/discord/views/VoiceUserView;
|
|
|
|
.field public final deafenIndicator:Landroid/widget/ImageView;
|
|
|
|
.field public final liveIndicator:Landroid/widget/TextView;
|
|
|
|
.field public final muteIndicator:Landroid/widget/ImageView;
|
|
|
|
.field public final name:Landroid/widget/TextView;
|
|
|
|
.field public final quantizeUserAvatar:Z
|
|
|
|
.field public final spectatingIndicator:Landroid/widget/ImageView;
|
|
|
|
.field public final streamPreview:Lcom/discord/views/StreamPreviewView;
|
|
|
|
.field public final videoIndicator:Landroid/widget/ImageView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;Z)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const v0, 0x7f0d0149
|
|
|
|
invoke-direct {p0, v0, p1}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;-><init>(ILcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)V
|
|
|
|
iput-boolean p2, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->quantizeUserAvatar:Z
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a40
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026er_list_item_user_avatar)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Lcom/discord/views/VoiceUserView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->avatar:Lcom/discord/views/VoiceUserView;
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a41
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026user_list_item_user_name)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->name:Landroid/widget/TextView;
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a3d
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026list_item_live_indicator)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->liveIndicator:Landroid/widget/TextView;
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a3f
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026tem_spectating_indicator)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->spectatingIndicator:Landroid/widget/ImageView;
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a3a
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026st_item_deafen_indicator)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->deafenIndicator:Landroid/widget/ImageView;
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a3e
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026list_item_mute_indicator)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->muteIndicator:Landroid/widget/ImageView;
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a43
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026ist_item_video_indicator)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->videoIndicator:Landroid/widget/ImageView;
|
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
const p2, 0x7f0a0a42
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "itemView.findViewById(R.\u2026item_user_stream_preview)"
|
|
|
|
invoke-static {p1, p2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Lcom/discord/views/StreamPreviewView;
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->streamPreview:Lcom/discord/views/StreamPreviewView;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "adapter"
|
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final synthetic access$getAdapter$p(Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;)Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;->adapter:Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;
|
|
|
|
check-cast p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onConfigure(ILcom/discord/utilities/mg_recycler/MGRecyclerDataPayload;)V
|
|
.locals 9
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p2, :cond_10
|
|
|
|
invoke-super {p0, p1, p2}, Lcom/discord/utilities/mg_recycler/MGRecyclerViewHolder;->onConfigure(ILjava/lang/Object;)V
|
|
|
|
check-cast p2, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ListItem$VoiceUser;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ListItem$VoiceUser;->getParticipant()Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
move-result-object p1
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->quantizeUserAvatar:Z
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->avatar:Lcom/discord/views/VoiceUserView;
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser$onConfigure$1;
|
|
|
|
invoke-direct {v2, p1}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser$onConfigure$1;-><init>(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;)V
|
|
|
|
invoke-virtual {v1, v2}, Lcom/discord/views/VoiceUserView;->setOnBitmapLoadedListener(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->avatar:Lcom/discord/views/VoiceUserView;
|
|
|
|
const v2, 0x7f07005c
|
|
|
|
invoke-virtual {v1, p1, v2}, Lcom/discord/views/VoiceUserView;->a(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;I)V
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->name:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getDisplayName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
iget-object v1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser$onConfigure$2;
|
|
|
|
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser$onConfigure$2;-><init>(Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->isConnected()Z
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x8
|
|
|
|
if-eqz v1, :cond_f
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getVoiceState()Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_f
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->deafenIndicator:Landroid/widget/ImageView;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->muteIndicator:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getVoiceState()Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelVoice$State;->isSelfDeaf()Z
|
|
|
|
move-result v4
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-nez v4, :cond_2
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelVoice$State;->isDeaf()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 v4, 0x1
|
|
|
|
:goto_1
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelVoice$State;->isSelfMute()Z
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_4
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelVoice$State;->isMute()Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
:goto_2
|
|
const/4 v6, 0x1
|
|
|
|
:goto_3
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelVoice$State;->isSelfVideo()Z
|
|
|
|
move-result v1
|
|
|
|
iget-object v7, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->spectatingIndicator:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ListItem$VoiceUser;->isSpectatingSameStream()Z
|
|
|
|
move-result v8
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
const/4 v8, 0x0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
const/16 v8, 0x8
|
|
|
|
:goto_4
|
|
invoke-virtual {v7, v8}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget-object v7, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->deafenIndicator:Landroid/widget/ImageView;
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_5
|
|
|
|
:cond_6
|
|
const/16 v4, 0x8
|
|
|
|
:goto_5
|
|
invoke-virtual {v7, v4}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget-object v4, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->muteIndicator:Landroid/widget/ImageView;
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
const/16 v6, 0x8
|
|
|
|
:goto_6
|
|
invoke-virtual {v4, v6}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget-object v4, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->videoIndicator:Landroid/widget/ImageView;
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_7
|
|
|
|
:cond_8
|
|
const/16 v1, 0x8
|
|
|
|
:goto_7
|
|
invoke-virtual {v4, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getStreamContext()Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v4, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->liveIndicator:Landroid/widget/TextView;
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
const/4 v6, 0x1
|
|
|
|
goto :goto_8
|
|
|
|
:cond_9
|
|
const/4 v6, 0x0
|
|
|
|
:goto_8
|
|
if-eqz v6, :cond_a
|
|
|
|
const/4 v6, 0x0
|
|
|
|
goto :goto_9
|
|
|
|
:cond_a
|
|
const/16 v6, 0x8
|
|
|
|
:goto_9
|
|
invoke-virtual {v4, v6}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
if-eqz v1, :cond_b
|
|
|
|
invoke-virtual {v1}, Lcom/discord/utilities/streams/StreamContext;->getPreview()Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_b
|
|
if-eqz v0, :cond_e
|
|
|
|
invoke-virtual {v1}, Lcom/discord/utilities/streams/StreamContext;->getJoinability()Lcom/discord/utilities/streams/StreamContext$Joinability;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v4, Lcom/discord/utilities/streams/StreamContext$Joinability;->CAN_CONNECT:Lcom/discord/utilities/streams/StreamContext$Joinability;
|
|
|
|
if-eq v1, v4, :cond_c
|
|
|
|
goto :goto_a
|
|
|
|
:cond_c
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->streamPreview:Lcom/discord/views/StreamPreviewView;
|
|
|
|
invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->streamPreview:Lcom/discord/views/StreamPreviewView;
|
|
|
|
new-instance v2, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser$onConfigure$3;
|
|
|
|
invoke-direct {v2, p0, p1}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser$onConfigure$3;-><init>(Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-virtual {p2}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ListItem$VoiceUser;->getParticipant()Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getStreamContext()Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
invoke-virtual {p1}, Lcom/discord/utilities/streams/StreamContext;->isCurrentUserSpectating()Z
|
|
|
|
move-result p1
|
|
|
|
if-ne p1, v5, :cond_d
|
|
|
|
const/4 v3, 0x1
|
|
|
|
:cond_d
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->streamPreview:Lcom/discord/views/StreamPreviewView;
|
|
|
|
sget-object p2, Lcom/discord/utilities/streams/StreamContext$Joinability;->CAN_CONNECT:Lcom/discord/utilities/streams/StreamContext$Joinability;
|
|
|
|
invoke-virtual {p1, v0, p2, v3}, Lcom/discord/views/StreamPreviewView;->a(Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview;Lcom/discord/utilities/streams/StreamContext$Joinability;Z)V
|
|
|
|
goto :goto_b
|
|
|
|
:cond_e
|
|
:goto_a
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->streamPreview:Lcom/discord/views/StreamPreviewView;
|
|
|
|
invoke-virtual {p1, v2}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
return-void
|
|
|
|
:cond_f
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->deafenIndicator:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->muteIndicator:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {p1, v2}, Landroid/widget/ImageView;->setVisibility(I)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->streamPreview:Lcom/discord/views/StreamPreviewView;
|
|
|
|
invoke-virtual {p1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V
|
|
|
|
:goto_b
|
|
return-void
|
|
|
|
:cond_10
|
|
const-string p1, "data"
|
|
|
|
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public bridge synthetic onConfigure(ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p2, Lcom/discord/utilities/mg_recycler/MGRecyclerDataPayload;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/voice/sheet/CallParticipantsAdapter$ViewHolderUser;->onConfigure(ILcom/discord/utilities/mg_recycler/MGRecyclerDataPayload;)V
|
|
|
|
return-void
|
|
.end method
|