forked from Juby210/discord-jadx
29 lines
1.1 KiB
Java
29 lines
1.1 KiB
Java
package com.discord.widgets.guilds.list;
|
|
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetGuildListAdapter.kt */
|
|
public final class WidgetGuildListAdapter$onCreateViewHolder$1 extends o implements Function1<Integer, View> {
|
|
public final /* synthetic */ ViewGroup $parent;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetGuildListAdapter$onCreateViewHolder$1(ViewGroup viewGroup) {
|
|
super(1);
|
|
this.$parent = viewGroup;
|
|
}
|
|
|
|
public final View invoke(int i) {
|
|
return LayoutInflater.from(this.$parent.getContext()).inflate(i, this.$parent, false);
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ View invoke(Integer num) {
|
|
return invoke(num.intValue());
|
|
}
|
|
}
|