tinybus
tinybus copied to clipboard
Can support for activity post to another activity like eventbus?
RT,Use TinyBus but can not receive event in another activity, is my code mistake or tinybus do not support for "post to another activity like eventbus"?
+1
@xiaomeixw @raviteja06
I think you need to make sure you use the Application Context.
TinyBus bus = TinyBus.from(getActivity()
.getApplicationContext());
See the bottom of this page: https://github.com/beworker/tinybus/wiki/Getting-Started