No subscribers registered for event class Com.test.MessageEvent
import de.greenrobot.event.EventBus; Not org ..... The bag.
There must be a subscriber in memory before the sender can send the message to him. A->b, activity A is sent to B, then b the activity has to be first. You can configure B for the app's startup page, and then jump to a, then in-Memory AB has (b, then a), then a sends a message to B, and finally B's toast can be seen on the a page, at the bottom
Only available in Androidcaused by: java.lang.ClassNotFoundException: Android.os.Handler
RxJava
Rxbuseventbus event Bus compile ' org.greenrobot:eventbus:3.0.0 '
Rxbus name looks like a library, but it is not a library, but a pattern, its idea is to use RxJava to achieve the Eventbus, notOtto or Eventbus ( Greenrobot's)
Rxbus = RxJava Combined Eventbus
Otto
Time-consuming operation: top, top priority usehandle background time-consuming operationsIn essence, it's all about opening newThreadsnew Thread ()
Rxjava and Rxbus instead of EventbusEvent Bus
Asynctask is Right (Thread+handler) of the packageThread+handler
Null
Android Time consuming operation