我的应用程序到处都在使用Otto,但我总是遇到相同的运行时异常崩溃。这发生在几个不同的事件中,这让我认为我没有正确地实现otto。我正在使用主线程总线技术,如下所示: * Otto bus that enforces bus messages posted on the main thread
* Adapted from: http://stackoverflow.com/questions/15431768/how-to-send-event-from-servic
这是我在Otto 7.0.1上的BusProvider。在MainActivity中,我有两个按钮,点击第一个按钮后,我在总线对象中发布一个字符串。, "click on the 1 button",Toast.LENGTH_SHORT).show(); }
public void gettingStringPosted(String messag