forked from Juby210/discord-jadx
33 lines
1.5 KiB
Java
33 lines
1.5 KiB
Java
package com.discord.widgets.quickmentions;
|
|
|
|
import android.view.View;
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import androidx.viewpager2.widget.ViewPager2;
|
|
import c0.z.d.k;
|
|
import c0.z.d.m;
|
|
import com.discord.R;
|
|
import com.discord.databinding.WidgetQuickMentionsDialogBinding;
|
|
import com.google.android.material.tabs.TabLayout;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetQuickMentionsDialog.kt */
|
|
public final /* synthetic */ class WidgetQuickMentionsDialog$binding$2 extends k implements Function1<View, WidgetQuickMentionsDialogBinding> {
|
|
public static final WidgetQuickMentionsDialog$binding$2 INSTANCE = new WidgetQuickMentionsDialog$binding$2();
|
|
|
|
public WidgetQuickMentionsDialog$binding$2() {
|
|
super(1, WidgetQuickMentionsDialogBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetQuickMentionsDialogBinding;", 0);
|
|
}
|
|
|
|
public final WidgetQuickMentionsDialogBinding invoke(View view) {
|
|
m.checkNotNullParameter(view, "p1");
|
|
int i = R.id.tab_contents;
|
|
ViewPager2 viewPager2 = (ViewPager2) view.findViewById(R.id.tab_contents);
|
|
if (viewPager2 != null) {
|
|
i = R.id.tabs;
|
|
TabLayout tabLayout = (TabLayout) view.findViewById(R.id.tabs);
|
|
if (tabLayout != null) {
|
|
return new WidgetQuickMentionsDialogBinding((ConstraintLayout) view, viewPager2, tabLayout);
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
}
|
|
}
|