SUBSCRIBE + GET THE NEWSLETTER:
Using an event bus architecture in Android makes it much easier to communicate between fragments and activities. Stop using callbacks and switch to to the RxBus, it’s much easier!
This Android tutorial shows an clear example of the eventbus in Android + Kotlin, but you don’t need to be using Kotlin. You can absolutely follow along with Java.
This is part of the Android Intermediate series.