greenrobot-eventbus Questions
2
Solved
I am using EventBus in my Android application. Is it a good idea to do a Eventbus.getDefault().register(this) in my Application.onCreate() ? I don't have any UI updates to be made. I am trying this...
Vertu asked 3/8, 2015 at 23:40
1
I have been searching for perfect android application architecture and read a few great blogposts on this topic.
1) http://www.mdswanson.com/blog/2014/04/07/durable-android-rest-clients.html
2) ...
Weller asked 19/12, 2014 at 10:54
2
Solved
I am a bit confused with the usage of onEvent, onEventMainThread, onEventBackgroundThread and onEventAsync in Greenrobot's EventBus 3.0
From what I see in the documentation:
onEvent is used with...
Ethylethylate asked 14/2, 2016 at 3:9
1
So, I found out about Green Robots' eventbus module. Followed the instructions on this page to try to get it working:
http://greenrobot.org/eventbus/documentation/how-to-get-started/
Seems simple ...
Coloring asked 8/2, 2016 at 16:37
2
Solved
I would like to communicate between 2 Activity. Both are the register() and the unregister() methods:
@Override
public void onStart() {
super.onStart();
EventBus.getDefault().register(this);
}
...
Duron asked 4/9, 2015 at 16:13
2
I have a MainActivity and a Service in my android app. I have registered both to the EventBus and when I start the service from the main activity manually via a switch everything works fine. Howeve...
Harsh asked 9/5, 2015 at 2:40
2
Just started with GreenRobot's EventBus.
There is only one thing that keeps me struggling: How do you communicate between different threads so that the onEventXY() method is actually also execute...
Ornis asked 13/11, 2013 at 10:37
1
Solved
I am about to start development on an Android app. I am interested in using Otto or EventBus in my app to assist with making asynchronous REST network calls and notifying the main thread when the c...
Detonator asked 21/7, 2015 at 0:33
2
Solved
I've a splashscreen Fragment that is registered to event bus:
@Override
public void onStart() {
super.onStart();
EventBus.getDefault().register(this);
}
@Override
public void onStop() {
EventB...
Gilolo asked 19/7, 2015 at 9:42
1
My app has activities for the user interaction and a background service which is the only place where the data model is being modified. The background service listens to actions that where made by ...
Tibbs asked 6/1, 2015 at 7:7
1
Solved
I use greenrobot EventBus library to send data between two fragments in my android app and I want to know what is the diffeence between register(Object b) method and registerSticky(Object object) m...
Businesswoman asked 20/1, 2015 at 17:16
2
Solved
I have gone through various methods to make this project work and have finally settled on EventBus from Green Robot. My second question in relation to this on here is here:-Multiple Fragment to Act...
Homo asked 13/2, 2013 at 14:53
2
Solved
I've just started looking at GreenRobot's EventBus for Android and have a question about threading.
I have a long-running process that I'd like to run on a background thread which, when completed,...
Cavein asked 17/5, 2013 at 7:54
© 2022 - 2024 — McMap. All rights reserved.