2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.FrameLayout;
|
|
|
|
import android.widget.ImageButton;
|
|
|
|
import android.widget.ImageView;
|
|
|
|
import android.widget.TextView;
|
|
|
|
import androidx.cardview.widget.CardView;
|
|
|
|
import androidx.constraintlayout.widget.Barrier;
|
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
|
|
import androidx.core.widget.NestedScrollView;
|
|
|
|
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.WidgetGuildInviteShareSheetBinding;
|
|
|
|
import com.discord.views.SearchInputView;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
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: WidgetGuildInviteShareSheet.kt */
|
|
|
|
public final /* synthetic */ class WidgetGuildInviteShareSheet$binding$2 extends k implements Function1<View, WidgetGuildInviteShareSheetBinding> {
|
|
|
|
public static final WidgetGuildInviteShareSheet$binding$2 INSTANCE = new WidgetGuildInviteShareSheet$binding$2();
|
|
|
|
|
|
|
|
public WidgetGuildInviteShareSheet$binding$2() {
|
|
|
|
super(1, WidgetGuildInviteShareSheetBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetGuildInviteShareSheetBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetGuildInviteShareSheetBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.copy_link_group;
|
|
|
|
ConstraintLayout constraintLayout = (ConstraintLayout) view.findViewById(R.id.copy_link_group);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (constraintLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.copy_link_icon;
|
|
|
|
FrameLayout frameLayout = (FrameLayout) view.findViewById(R.id.copy_link_icon);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (frameLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.copy_link_icon_barrier;
|
|
|
|
Barrier barrier = (Barrier) view.findViewById(R.id.copy_link_icon_barrier);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (barrier != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.copy_link_subtitle;
|
|
|
|
TextView textView = (TextView) view.findViewById(R.id.copy_link_subtitle);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.copy_link_title;
|
|
|
|
TextView textView2 = (TextView) view.findViewById(R.id.copy_link_title);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_body;
|
|
|
|
TextView textView3 = (TextView) view.findViewById(R.id.empty_state_body);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView3 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_img;
|
|
|
|
ImageView imageView = (ImageView) view.findViewById(R.id.empty_state_img);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (imageView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_invite_link;
|
|
|
|
TextView textView4 = (TextView) view.findViewById(R.id.empty_state_invite_link);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView4 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_link_options;
|
|
|
|
ImageButton imageButton = (ImageButton) view.findViewById(R.id.empty_state_link_options);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (imageButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_scroller;
|
|
|
|
NestedScrollView nestedScrollView = (NestedScrollView) view.findViewById(R.id.empty_state_scroller);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (nestedScrollView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_settings_subtext;
|
|
|
|
TextView textView5 = (TextView) view.findViewById(R.id.empty_state_settings_subtext);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView5 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_share_btn;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.empty_state_share_btn);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state_title;
|
|
|
|
TextView textView6 = (TextView) view.findViewById(R.id.empty_state_title);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView6 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.invite_settings_button;
|
|
|
|
FrameLayout frameLayout2 = (FrameLayout) view.findViewById(R.id.invite_settings_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (frameLayout2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.invite_suggestions_header;
|
|
|
|
TextView textView7 = (TextView) view.findViewById(R.id.invite_suggestions_header);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView7 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.link_settings_barrier;
|
|
|
|
Barrier barrier2 = (Barrier) view.findViewById(R.id.link_settings_barrier);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (barrier2 != null) {
|
|
|
|
FrameLayout frameLayout3 = (FrameLayout) view;
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.search_barrier;
|
|
|
|
Barrier barrier3 = (Barrier) view.findViewById(R.id.search_barrier);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (barrier3 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.search_input;
|
|
|
|
SearchInputView searchInputView = (SearchInputView) view.findViewById(R.id.search_input);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (searchInputView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.share_button;
|
|
|
|
CardView cardView = (CardView) view.findViewById(R.id.share_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (cardView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.suggestion_list;
|
|
|
|
RecyclerView recyclerView = (RecyclerView) view.findViewById(R.id.suggestion_list);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (recyclerView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.suggestions_flipper;
|
|
|
|
AppViewFlipper appViewFlipper = (AppViewFlipper) view.findViewById(R.id.suggestions_flipper);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (appViewFlipper != null) {
|
|
|
|
return new WidgetGuildInviteShareSheetBinding(frameLayout3, constraintLayout, frameLayout, barrier, textView, textView2, textView3, imageView, textView4, imageButton, nestedScrollView, textView5, materialButton, textView6, frameLayout2, textView7, barrier2, frameLayout3, barrier3, searchInputView, cardView, recyclerView, appViewFlipper);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|