2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.ImageView;
|
|
|
|
import android.widget.TextView;
|
|
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
|
|
|
import androidx.recyclerview.widget.RecyclerView;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.app.AppViewFlipper;
|
|
|
|
import com.discord.databinding.WidgetGuildInviteShareCompactBinding;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
|
|
|
import com.google.android.material.textfield.TextInputLayout;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.k;
|
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetGuildInviteShareCompact.kt */
|
|
|
|
public final /* synthetic */ class WidgetGuildInviteShareCompact$binding$2 extends k implements Function1<View, WidgetGuildInviteShareCompactBinding> {
|
|
|
|
public static final WidgetGuildInviteShareCompact$binding$2 INSTANCE = new WidgetGuildInviteShareCompact$binding$2();
|
|
|
|
|
|
|
|
public WidgetGuildInviteShareCompact$binding$2() {
|
|
|
|
super(1, WidgetGuildInviteShareCompactBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetGuildInviteShareCompactBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetGuildInviteShareCompactBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.bottom_sheet_tint;
|
|
|
|
View findViewById = view.findViewById(R.id.bottom_sheet_tint);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (findViewById != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_empty_results;
|
|
|
|
TextView textView = (TextView) view.findViewById(R.id.guild_invite_empty_results);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_never_expire;
|
|
|
|
TextView textView2 = (TextView) view.findViewById(R.id.guild_invite_never_expire);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_settings_edit;
|
|
|
|
ImageView imageView = (ImageView) view.findViewById(R.id.guild_invite_settings_edit);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (imageView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_share_btn;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.guild_invite_share_btn);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_share_compact_search;
|
|
|
|
TextInputLayout textInputLayout = (TextInputLayout) view.findViewById(R.id.guild_invite_share_compact_search);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textInputLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_suggestion_list;
|
|
|
|
RecyclerView recyclerView = (RecyclerView) view.findViewById(R.id.guild_invite_suggestion_list);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (recyclerView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_suggestions_flipper;
|
|
|
|
AppViewFlipper appViewFlipper = (AppViewFlipper) view.findViewById(R.id.guild_invite_suggestions_flipper);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (appViewFlipper != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.invite_settings_bottom_sheet;
|
|
|
|
ViewInviteSettingsSheet viewInviteSettingsSheet = (ViewInviteSettingsSheet) view.findViewById(R.id.invite_settings_bottom_sheet);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (viewInviteSettingsSheet != null) {
|
|
|
|
return new WidgetGuildInviteShareCompactBinding((CoordinatorLayout) view, findViewById, textView, textView2, imageView, materialButton, textInputLayout, recyclerView, appViewFlipper, viewInviteSettingsSheet);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|