我正在尝试使用Otto在片段之间传递String值。看起来
AppDrawerFragment.java https://gist.github.com/sukso96100/a636a7ead69839cfa5b6 WorkspaceFragment.java https://gist.github.com/sukso96100/5f4fc8d3f74997d830c1 BusProvider.java https://gist.github.com/sukso96100/733118a4c03bc5fc5d5f AddAppShortcutToHomeEvent.java https://gist.github.com/sukso96100/a6c09f27ec6264d5d9c4
@Produce
和.post
运作良好,但@Subscribe
不起作用......我已经在两个片段上注册了BusProvider
,但它不起作用。我该怎么办才能让它工作呢?AppDrawerFragment.java https://gist.github.com/sukso96100/a636a7ead69839cfa5b6 WorkspaceFragment.java https://gist.github.com/sukso96100/5f4fc8d3f74997d830c1 BusProvider.java https://gist.github.com/sukso96100/733118a4c03bc5fc5d5f AddAppShortcutToHomeEvent.java https://gist.github.com/sukso96100/a6c09f27ec6264d5d9c4