How to get started with EventBus in 3 steps

Contents The EventBus API is as easy as 1-2-3. Before we get started make sure to add EventBus as a dependency to your project. Step 1: Define events Events are POJO (plain old Java object) without any specific requirements. [crayon-6613d170c1033727675366/] Step 2: Prepare subscribers Subscribers implement event handling methods (also called “subscriber methods”) that will … Continue reading How to get started with EventBus in 3 steps