Event-Bus-Architecture
Event-Bus-Architecture copied to clipboard
Why not subscribing and unsubscribing in onResume/onPause?
Instead of doing it on the onCreate
and onDestroy,
I think that if you put them on the onResume
and onPause
methods, respectively, then you can avoid memory leaks...