package b.b.a.a; 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> { 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 attachment) { d0.z.d.m.checkNotNullParameter(attachment, "item"); FlexInputFragment flexInputFragment = this.a; FlexInputViewModel flexInputViewModel = flexInputFragment.f3128s; 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 attachment) { d0.z.d.m.checkNotNullParameter(attachment, "item"); FlexInputFragment flexInputFragment = this.a; FlexInputViewModel flexInputViewModel = flexInputFragment.f3128s; if (flexInputViewModel != null) { flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments()); } } @Override // com.lytefast.flexinput.utils.SelectionCoordinator.ItemSelectionListener public void unregister() { } }