Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between Greenrobot EventBus and Guava's EventBus

I´ve been using quite often EventBus from greenrobot

https://github.com/greenrobot/EventBus

But I´ve just realised that Guava has its own EventBus

com.google.common.eventbus.EventBus

Does someone know if there are big differences?

like image 881
Jose M Lechon Avatar asked Feb 08 '16 11:02

Jose M Lechon


2 Answers

Both are excellent quality library.

Here is a comparison (from greenrobot developpers point of view) between greenrobot EventBus and Otto (a fork from Guava specialized for android).

I personnaly like EventBus because it support delivery in background threads

like image 89
bwt Avatar answered Sep 21 '22 05:09

bwt


No more need to compare where otto is deprecated and writes a note:

This project is deprecated in favor of RxJava and RxAndroid.

like image 30
David Avatar answered Sep 22 '22 05:09

David