EventBus
EventBus copied to clipboard
When registered in Fragment, getActivity () is passed in and no callback is received.
When registered in Fragment, getActivity () is passed in, and callbacks are not received. This can be received normally instead.
if subscribe method is in fragment . then u should pass in fragment not activity