Remove subscribed listeners and keep the clases associated to the subscriptions. Recomended for use cases when need unsubscribe all existing listeners but don't want remove the association with the register class. The next time you subscribe a class already subcribed it will reuse this instance and only update listeners. Improve the performance.
MBassador bus = new MBassador();
bus.unsubscribeAll();
Purge
Remove all subscribed class and their listener associated. Force clean the whole subscription list. Recomended for use cases when your cycle of life subscribe new instances of already existing classes and you can't unsbuscribe old one.
Features
Remove subscribed listeners and keep the clases associated to the subscriptions. Recomended for use cases when need unsubscribe all existing listeners but don't want remove the association with the register class. The next time you subscribe a class already subcribed it will reuse this instance and only update listeners. Improve the performance.
Remove all subscribed class and their listener associated. Force clean the whole subscription list. Recomended for use cases when your cycle of life subscribe new instances of already existing classes and you can't unsbuscribe old one.