44 lines
1.9 KiB
Java
44 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.x1;
|
|
import com.google.android.material.button.MaterialButton;
|
|
import d0.z.d.m;
|
|
/* compiled from: DiscoveryStageCardControlsView.kt */
|
|
public final class DiscoveryStageCardControlsView extends ConstraintLayout {
|
|
public final x1 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(2131558743, this);
|
|
int i = 2131362936;
|
|
ImageView imageView = (ImageView) findViewById(2131362936);
|
|
if (imageView != null) {
|
|
i = 2131362937;
|
|
MaterialButton materialButton = (MaterialButton) findViewById(2131362937);
|
|
if (materialButton != null) {
|
|
i = 2131362938;
|
|
TextView textView = (TextView) findViewById(2131362938);
|
|
if (textView != null) {
|
|
i = 2131362939;
|
|
MaterialButton materialButton2 = (MaterialButton) findViewById(2131362939);
|
|
if (materialButton2 != null) {
|
|
x1 x1Var = new x1(this, imageView, materialButton, textView, materialButton2);
|
|
m.checkNotNullExpressionValue(x1Var, "ViewDiscoveryStageCardCo…ater.from(context), this)");
|
|
this.i = x1Var;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(getResources().getResourceName(i)));
|
|
}
|
|
}
|