Android Architecture with EventBus

Google’s Android Dev Summit 2015 covered a talk on Android Application Architecture. Android Apps often have complex interactions among data models, application logic, UI views and controllers, and networking. A solid architecture is the key to get this right. Watch the two Googlers Yigit Boyar and Adam Powell using EventBus as an important app’s component:

Among a lot of architecture principles covered by the video, we want to highlight a particular slide discussed in the video: the basic EventBus recipe to interact with the Activity or Fragment life cycle. Interactive apps usually load data in onStart/onResume and listen to events while running until they hit onStop/onPause:


The complete demo code is available at GitHub.

The video along with the demo code is a great place to get started with both Android Architecture and EventBus. Learn more about EventBus here.

Spread the love
Posted in Android and tagged , , , .