45 lines
2.3 KiB
Java
45 lines
2.3 KiB
Java
package com.discord.widgets.chat.input;
|
|
|
|
import com.discord.widgets.chat.input.WidgetChatInputAttachments$createPreviewAdapter$1;
|
|
import com.lytefast.flexinput.model.Attachment;
|
|
import com.lytefast.flexinput.utils.SelectionCoordinator;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetChatInputAttachments.kt */
|
|
public final class WidgetChatInputAttachments$createPreviewAdapter$1$1$registerSelectionCoordinatorInternal$1 implements SelectionCoordinator.ItemSelectionListener<T> {
|
|
private final /* synthetic */ SelectionCoordinator.ItemSelectionListener<? super T> $$delegate_0;
|
|
public final /* synthetic */ SelectionCoordinator.ItemSelectionListener $oldItemSelectionListener;
|
|
public final /* synthetic */ WidgetChatInputAttachments$createPreviewAdapter$1.AnonymousClass1 this$0;
|
|
|
|
public WidgetChatInputAttachments$createPreviewAdapter$1$1$registerSelectionCoordinatorInternal$1(WidgetChatInputAttachments$createPreviewAdapter$1.AnonymousClass1 r1, SelectionCoordinator.ItemSelectionListener itemSelectionListener) {
|
|
this.this$0 = r1;
|
|
this.$oldItemSelectionListener = itemSelectionListener;
|
|
this.$$delegate_0 = itemSelectionListener;
|
|
}
|
|
|
|
public void onItemSelected(T t) {
|
|
m.checkNotNullParameter(t, "item");
|
|
WidgetChatInputAttachments$createPreviewAdapter$1.AnonymousClass1.access$track(this.this$0, t);
|
|
this.$oldItemSelectionListener.onItemSelected(t);
|
|
}
|
|
|
|
@Override // com.lytefast.flexinput.utils.SelectionCoordinator.ItemSelectionListener
|
|
public /* bridge */ /* synthetic */ void onItemSelected(Object obj) {
|
|
onItemSelected((WidgetChatInputAttachments$createPreviewAdapter$1$1$registerSelectionCoordinatorInternal$1) ((Attachment) obj));
|
|
}
|
|
|
|
public void onItemUnselected(T t) {
|
|
m.checkNotNullParameter(t, "item");
|
|
this.$$delegate_0.onItemUnselected(t);
|
|
}
|
|
|
|
@Override // com.lytefast.flexinput.utils.SelectionCoordinator.ItemSelectionListener
|
|
public /* bridge */ /* synthetic */ void onItemUnselected(Object obj) {
|
|
onItemUnselected((WidgetChatInputAttachments$createPreviewAdapter$1$1$registerSelectionCoordinatorInternal$1) ((Attachment) obj));
|
|
}
|
|
|
|
@Override // com.lytefast.flexinput.utils.SelectionCoordinator.ItemSelectionListener
|
|
public void unregister() {
|
|
this.$$delegate_0.unregister();
|
|
}
|
|
}
|