discord-jadx/app/src/main/java/com/discord/widgets/chat/list/WidgetChatList$binding$3.java

42 lines
1.8 KiB
Java

package com.discord.widgets.chat.list;
import androidx.recyclerview.widget.RecyclerView;
import com.discord.databinding.WidgetChatListBinding;
import com.discord.widgets.chat.list.adapter.WidgetChatListAdapter;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetChatList.kt */
public final class WidgetChatList$binding$3 extends o implements Function1<WidgetChatListBinding, Unit> {
public final /* synthetic */ WidgetChatList this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetChatList$binding$3(WidgetChatList widgetChatList) {
super(1);
this.this$0 = widgetChatList;
}
/* 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 */ Unit invoke(WidgetChatListBinding widgetChatListBinding) {
invoke(widgetChatListBinding);
return Unit.a;
}
public final void invoke(WidgetChatListBinding widgetChatListBinding) {
m.checkNotNullParameter(widgetChatListBinding, "binding");
RecyclerView recyclerView = widgetChatListBinding.b;
m.checkNotNullExpressionValue(recyclerView, "binding.chatListRecycler");
recyclerView.setLayoutManager(null);
RecyclerView recyclerView2 = widgetChatListBinding.b;
m.checkNotNullExpressionValue(recyclerView2, "binding.chatListRecycler");
recyclerView2.setAdapter(null);
WidgetChatListAdapter access$getAdapter$p = WidgetChatList.access$getAdapter$p(this.this$0);
if (access$getAdapter$p != null) {
access$getAdapter$p.dispose();
}
}
}