43 lines
1.9 KiB
Java
43 lines
1.9 KiB
Java
package com.discord.views.discovery;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.LayoutInflater;
|
|
import android.widget.ImageView;
|
|
import android.widget.TextView;
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import c.a.i.y1;
|
|
import com.google.android.material.button.MaterialButton;
|
|
import d0.z.d.m;
|
|
/* compiled from: DiscoveryStageCardControlsView.kt */
|
|
public final class DiscoveryStageCardControlsView extends ConstraintLayout {
|
|
public final y1 i;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public DiscoveryStageCardControlsView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
m.checkNotNullParameter(context, "context");
|
|
LayoutInflater.from(context).inflate(2131558753, this);
|
|
int i = 2131362971;
|
|
ImageView imageView = (ImageView) findViewById(2131362971);
|
|
if (imageView != null) {
|
|
i = 2131362972;
|
|
MaterialButton materialButton = (MaterialButton) findViewById(2131362972);
|
|
if (materialButton != null) {
|
|
i = 2131362973;
|
|
TextView textView = (TextView) findViewById(2131362973);
|
|
if (textView != null) {
|
|
i = 2131362974;
|
|
MaterialButton materialButton2 = (MaterialButton) findViewById(2131362974);
|
|
if (materialButton2 != null) {
|
|
y1 y1Var = new y1(this, imageView, materialButton, textView, materialButton2);
|
|
m.checkNotNullExpressionValue(y1Var, "ViewDiscoveryStageCardCo…ater.from(context), this)");
|
|
this.i = y1Var;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(getResources().getResourceName(i)));
|
|
}
|
|
}
|