35 lines
1.4 KiB
Java
35 lines
1.4 KiB
Java
package com.discord.views.discovery;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.LayoutInflater;
|
|
import android.widget.LinearLayout;
|
|
import android.widget.TextView;
|
|
import c.a.i.z1;
|
|
import com.facebook.drawee.view.SimpleDraweeView;
|
|
import d0.z.d.m;
|
|
/* compiled from: DiscoveryStageCardTopHatView.kt */
|
|
public final class DiscoveryStageCardTopHatView extends LinearLayout {
|
|
public final z1 i;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public DiscoveryStageCardTopHatView(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
m.checkNotNullParameter(context, "context");
|
|
LayoutInflater.from(context).inflate(2131558745, this);
|
|
int i = 2131362956;
|
|
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) findViewById(2131362956);
|
|
if (simpleDraweeView != null) {
|
|
i = 2131362957;
|
|
TextView textView = (TextView) findViewById(2131362957);
|
|
if (textView != null) {
|
|
z1 z1Var = new z1(this, simpleDraweeView, textView);
|
|
m.checkNotNullExpressionValue(z1Var, "ViewDiscoveryStageCardTo…ater.from(context), this)");
|
|
this.i = z1Var;
|
|
return;
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(getResources().getResourceName(i)));
|
|
}
|
|
}
|