How To Create A Simple Event Bus in Androidby@akshay-rana-gujjar
3,299 reads

How To Create A Simple Event Bus in Android

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

EventBus is the number 1 event library for android and java. You need very less or no setup to use EventBus in your existing project. To better understanding EventBus we will make an app that allows us to add items to the cart and show the total count of the items. EventBus uses the publisher and subscriber pattern for loose coupling which means the possibility of errors will be less. We add 3 items in the real world application, we should use a list of items or any other view to make a list.

Company Mentioned

Mention Thumbnail
featured image - How To Create A Simple Event Bus in Android
Akshay Rana HackerNoon profile picture

@akshay-rana-gujjar

Akshay Rana

Android and Web Developer


Receive Stories from @akshay-rana-gujjar

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!