66 lines
2.9 KiB
Java
66 lines
2.9 KiB
Java
package com.discord.views.calls;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.LayoutInflater;
|
|
import android.widget.ImageView;
|
|
import android.widget.TextView;
|
|
import androidx.cardview.widget.CardView;
|
|
import c.a.i.l3;
|
|
import com.discord.views.VoiceUserView;
|
|
import d0.z.d.m;
|
|
import rx.Subscription;
|
|
/* compiled from: StageCallSpeakerView.kt */
|
|
public final class StageCallSpeakerView extends CardView {
|
|
public final l3 i;
|
|
public Subscription j;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StageCallSpeakerView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet, 0);
|
|
m.checkNotNullParameter(context, "context");
|
|
LayoutInflater.from(context).inflate(2131558817, this);
|
|
int i = 2131365040;
|
|
VoiceUserView voiceUserView = (VoiceUserView) findViewById(2131365040);
|
|
if (voiceUserView != null) {
|
|
i = 2131365041;
|
|
ImageView imageView = (ImageView) findViewById(2131365041);
|
|
if (imageView != null) {
|
|
i = 2131365043;
|
|
ImageView imageView2 = (ImageView) findViewById(2131365043);
|
|
if (imageView2 != null) {
|
|
i = 2131365044;
|
|
ImageView imageView3 = (ImageView) findViewById(2131365044);
|
|
if (imageView3 != null) {
|
|
i = 2131365045;
|
|
ImageView imageView4 = (ImageView) findViewById(2131365045);
|
|
if (imageView4 != null) {
|
|
i = 2131365046;
|
|
TextView textView = (TextView) findViewById(2131365046);
|
|
if (textView != null) {
|
|
i = 2131365047;
|
|
SpeakerPulseView speakerPulseView = (SpeakerPulseView) findViewById(2131365047);
|
|
if (speakerPulseView != null) {
|
|
l3 l3Var = new l3(this, voiceUserView, imageView, imageView2, imageView3, imageView4, textView, speakerPulseView);
|
|
m.checkNotNullExpressionValue(l3Var, "ViewStageChannelSpeakerB…ater.from(context), this)");
|
|
this.i = l3Var;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(getResources().getResourceName(i)));
|
|
}
|
|
|
|
@Override // android.view.View, android.view.ViewGroup
|
|
public void onDetachedFromWindow() {
|
|
super.onDetachedFromWindow();
|
|
Subscription subscription = this.j;
|
|
if (subscription != null) {
|
|
subscription.unsubscribe();
|
|
}
|
|
}
|
|
}
|