2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.notice;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
import android.widget.TextView;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.k;
|
|
|
|
import c0.z.d.m;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.databinding.WidgetNoticeDialogBinding;
|
|
|
|
import com.discord.utilities.view.text.LinkifiedTextView;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetNoticeDialog.kt */
|
|
|
|
public final /* synthetic */ class WidgetNoticeDialog$binding$2 extends k implements Function1<View, WidgetNoticeDialogBinding> {
|
|
|
|
public static final WidgetNoticeDialog$binding$2 INSTANCE = new WidgetNoticeDialog$binding$2();
|
|
|
|
|
|
|
|
public WidgetNoticeDialog$binding$2() {
|
|
|
|
super(1, WidgetNoticeDialogBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetNoticeDialogBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetNoticeDialogBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.notice_body_container;
|
|
|
|
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.notice_body_container);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linearLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.notice_body_text;
|
|
|
|
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.notice_body_text);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linkifiedTextView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.notice_cancel;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.notice_cancel);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.notice_header;
|
|
|
|
TextView textView = (TextView) view.findViewById(R.id.notice_header);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.notice_header_container;
|
|
|
|
LinearLayout linearLayout2 = (LinearLayout) view.findViewById(R.id.notice_header_container);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linearLayout2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.notice_ok;
|
|
|
|
MaterialButton materialButton2 = (MaterialButton) view.findViewById(R.id.notice_ok);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton2 != null) {
|
|
|
|
return new WidgetNoticeDialogBinding((LinearLayout) view, linearLayout, linkifiedTextView, materialButton, textView, linearLayout2, materialButton2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|