2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.databinding.WidgetGuildInviteBinding;
|
|
|
|
import com.facebook.drawee.view.SimpleDraweeView;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
|
|
|
import d0.z.d.k;
|
|
|
|
import d0.z.d.m;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetGuildInvite.kt */
|
|
|
|
public final /* synthetic */ class WidgetGuildInvite$binding$2 extends k implements Function1<View, WidgetGuildInviteBinding> {
|
|
|
|
public static final WidgetGuildInvite$binding$2 INSTANCE = new WidgetGuildInvite$binding$2();
|
|
|
|
|
|
|
|
public WidgetGuildInvite$binding$2() {
|
|
|
|
super(1, WidgetGuildInviteBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetGuildInviteBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetGuildInviteBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.guild_invite_accept;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.guild_invite_accept);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_actions;
|
|
|
|
View findViewById = view.findViewById(R.id.guild_invite_actions);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (findViewById != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_cancel;
|
|
|
|
MaterialButton materialButton2 = (MaterialButton) view.findViewById(R.id.guild_invite_cancel);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_info;
|
|
|
|
WidgetInviteInfo widgetInviteInfo = (WidgetInviteInfo) view.findViewById(R.id.guild_invite_info);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (widgetInviteInfo != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_splash;
|
|
|
|
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view.findViewById(R.id.guild_invite_splash);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (simpleDraweeView != null) {
|
|
|
|
return new WidgetGuildInviteBinding((CoordinatorLayout) view, materialButton, findViewById, materialButton2, widgetInviteInfo, simpleDraweeView);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|