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

How To Create A Simple Event Bus in Android

by Akshay Rana7mOctober 18th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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

Akshay Rana

@akshay-rana-gujjar

Android and Web Developer

Learn More
LEARN MORE ABOUT @AKSHAY-RANA-GUJJAR'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Akshay Rana HackerNoon profile picture
Akshay Rana@akshay-rana-gujjar
Android and Web Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite