I am using RxBus
for event passing from adapter class to fragment for specific subject
RxBus.publish(RxBus.SUBJECT_DELETE_SCHEME_FROM_CART, option)
and subscribe code is
RxBus.subscribe(RxBus.SUBJECT_DELETE_SCHEME_FROM_CART, this, Consumer {
if (it is GeneratedPortfolioResponse.GeneratedPortfolioScheme) {
// code
})
when I publish any event from adapter class it throws OnErrorNotImplementedException.
How can I handle this?