Instead of using Event bus for communication between view and presenter….its
Yuvraj Pandey
635

Totally agree with you, Yuvraj Pandey.

I use both interfaces and Event Bus in Presenter and View layers. Interfaces for communication between Presenter and View (like you do, as I understand correctly), and Event Bus for notifications from background tasks. I get the notification for example about some change in model, and if UI is present, event from Event Bus would be delivered and UI will update self. Same as presenter gets events and make some work to update it’s state.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.