discord-jadx/app/src/main/java/com/discord/views/calls/StageCallSpeakerView.java
2021-07-28 09:39:21 +02:00

67 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.o3;
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 o3 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(2131558827, this);
int i = 2131365129;
VoiceUserView voiceUserView = (VoiceUserView) findViewById(2131365129);
if (voiceUserView != null) {
i = 2131365130;
ImageView imageView = (ImageView) findViewById(2131365130);
if (imageView != null) {
i = 2131365132;
ImageView imageView2 = (ImageView) findViewById(2131365132);
if (imageView2 != null) {
i = 2131365133;
ImageView imageView3 = (ImageView) findViewById(2131365133);
if (imageView3 != null) {
i = 2131365134;
ImageView imageView4 = (ImageView) findViewById(2131365134);
if (imageView4 != null) {
i = 2131365135;
TextView textView = (TextView) findViewById(2131365135);
if (textView != null) {
i = 2131365136;
SpeakerPulseView speakerPulseView = (SpeakerPulseView) findViewById(2131365136);
if (speakerPulseView != null) {
o3 o3Var = new o3(this, voiceUserView, imageView, imageView2, imageView3, imageView4, textView, speakerPulseView);
m.checkNotNullExpressionValue(o3Var, "ViewStageChannelSpeakerB…ater.from(context), this)");
this.i = o3Var;
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();
}
}
}