50 lines
2.2 KiB
Java
50 lines
2.2 KiB
Java
package com.discord.widgets.hubs;
|
|
|
|
import android.view.LayoutInflater;
|
|
import android.view.ViewGroup;
|
|
import com.discord.databinding.DiscordHubAddServerListItemBinding;
|
|
import d0.z.d.a;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.functions.Function2;
|
|
/* compiled from: WidgetHubAddServer.kt */
|
|
/* loaded from: classes2.dex */
|
|
public final class WidgetHubAddServer$adapter$1 extends o implements Function2<LayoutInflater, ViewGroup, DiscordHubAddServerViewHolder> {
|
|
public final /* synthetic */ WidgetHubAddServer this$0;
|
|
|
|
/* compiled from: WidgetHubAddServer.kt */
|
|
/* renamed from: com.discord.widgets.hubs.WidgetHubAddServer$adapter$1$1 reason: invalid class name */
|
|
/* loaded from: classes2.dex */
|
|
public static final /* synthetic */ class AnonymousClass1 extends a implements Function1<Long, Unit> {
|
|
public AnonymousClass1(WidgetHubAddServer widgetHubAddServer) {
|
|
super(1, widgetHubAddServer, WidgetHubAddServer.class, "onServerClickListener", "onServerClickListener(JZ)V", 0);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(Long l) {
|
|
invoke(l.longValue());
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(long j) {
|
|
WidgetHubAddServer.onServerClickListener$default((WidgetHubAddServer) this.receiver, j, false, 2, null);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public WidgetHubAddServer$adapter$1(WidgetHubAddServer widgetHubAddServer) {
|
|
super(2);
|
|
this.this$0 = widgetHubAddServer;
|
|
}
|
|
|
|
public final DiscordHubAddServerViewHolder invoke(LayoutInflater layoutInflater, ViewGroup viewGroup) {
|
|
m.checkNotNullParameter(layoutInflater, "layoutInflater");
|
|
m.checkNotNullParameter(viewGroup, "parent");
|
|
DiscordHubAddServerListItemBinding a = DiscordHubAddServerListItemBinding.a(layoutInflater, viewGroup, false);
|
|
m.checkNotNullExpressionValue(a, "DiscordHubAddServerListI…tInflater, parent, false)");
|
|
return new DiscordHubAddServerViewHolder(a, new AnonymousClass1(this.this$0));
|
|
}
|
|
}
|