2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.directories;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
import android.widget.TextView;
|
|
|
|
import androidx.constraintlayout.widget.Barrier;
|
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
|
|
import androidx.recyclerview.widget.RecyclerView;
|
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.WidgetDirectoriesSearchBinding;
|
|
|
|
import com.discord.utilities.view.text.LinkifiedTextView;
|
|
|
|
import com.google.android.material.appbar.AppBarLayout;
|
|
|
|
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
|
|
|
import com.google.android.material.textfield.TextInputEditText;
|
|
|
|
import com.google.android.material.textfield.TextInputLayout;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetDirectoriesSearch.kt */
|
|
|
|
public final /* synthetic */ class WidgetDirectoriesSearch$binding$2 extends k implements Function1<View, WidgetDirectoriesSearchBinding> {
|
|
|
|
public static final WidgetDirectoriesSearch$binding$2 INSTANCE = new WidgetDirectoriesSearch$binding$2();
|
|
|
|
|
|
|
|
public WidgetDirectoriesSearch$binding$2() {
|
|
|
|
super(1, WidgetDirectoriesSearchBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetDirectoriesSearchBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetDirectoriesSearchBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.action_bar_toolbar_layout;
|
|
|
|
AppBarLayout appBarLayout = (AppBarLayout) view.findViewById(R.id.action_bar_toolbar_layout);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (appBarLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.barrier;
|
|
|
|
Barrier barrier = (Barrier) view.findViewById(R.id.barrier);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (barrier != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_description;
|
|
|
|
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.empty_description);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linkifiedTextView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_state;
|
|
|
|
LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.empty_state);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linearLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.empty_title;
|
|
|
|
TextView textView = (TextView) view.findViewById(R.id.empty_title);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.recycler_view;
|
|
|
|
RecyclerView recyclerView = (RecyclerView) view.findViewById(R.id.recycler_view);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (recyclerView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.search;
|
|
|
|
FloatingActionButton floatingActionButton = (FloatingActionButton) view.findViewById(R.id.search);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (floatingActionButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.search_bar;
|
|
|
|
TextInputLayout textInputLayout = (TextInputLayout) view.findViewById(R.id.search_bar);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textInputLayout != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.search_bar_text;
|
|
|
|
TextInputEditText textInputEditText = (TextInputEditText) view.findViewById(R.id.search_bar_text);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (textInputEditText != null) {
|
|
|
|
return new WidgetDirectoriesSearchBinding((ConstraintLayout) view, appBarLayout, barrier, linkifiedTextView, linearLayout, textView, recyclerView, floatingActionButton, textInputLayout, textInputEditText);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|