discord-jadx/app/src/main/java/b/b/a/a/m.java

41 lines
1.8 KiB
Java
Raw Normal View History

2021-12-17 21:59:34 +00:00
package b.b.a.a;
2021-07-24 02:37:17 +00:00
import com.lytefast.flexinput.fragment.FlexInputFragment;
import com.lytefast.flexinput.model.Attachment;
import com.lytefast.flexinput.utils.SelectionCoordinator;
import com.lytefast.flexinput.viewmodel.FlexInputViewModel;
/* compiled from: FlexInputFragment.kt */
public final class m implements SelectionCoordinator.ItemSelectionListener<Attachment<? extends Object>> {
public final /* synthetic */ FlexInputFragment a;
public m(FlexInputFragment flexInputFragment) {
this.a = flexInputFragment;
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // com.lytefast.flexinput.utils.SelectionCoordinator.ItemSelectionListener
public void onItemSelected(Attachment<? extends Object> attachment) {
2021-11-02 06:38:17 +00:00
d0.z.d.m.checkNotNullParameter(attachment, "item");
2021-07-24 02:37:17 +00:00
FlexInputFragment flexInputFragment = this.a;
2021-12-18 07:39:31 +00:00
FlexInputViewModel flexInputViewModel = flexInputFragment.f3124s;
2021-07-24 02:37:17 +00:00
if (flexInputViewModel != null) {
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
}
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // com.lytefast.flexinput.utils.SelectionCoordinator.ItemSelectionListener
public void onItemUnselected(Attachment<? extends Object> attachment) {
2021-11-02 06:38:17 +00:00
d0.z.d.m.checkNotNullParameter(attachment, "item");
2021-07-24 02:37:17 +00:00
FlexInputFragment flexInputFragment = this.a;
2021-12-18 07:39:31 +00:00
FlexInputViewModel flexInputViewModel = flexInputFragment.f3124s;
2021-07-24 02:37:17 +00:00
if (flexInputViewModel != null) {
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
}
}
@Override // com.lytefast.flexinput.utils.SelectionCoordinator.ItemSelectionListener
public void unregister() {
}
}