JessYanCoding / JessYanCoding/MVPArms

引入的org.simple.eventbus中stick无法使用

Open
#369 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
10.2k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

相同的问题链接:https://github.com/hehonghui/AndroidEventBus/issues/38
我想项目中需要发送粘性广播.
使用EventBus.getDefault().postSticky("string", EventBusTags.TARGET_ID);方法后在第二个跳转的未注册eventBus的activity或fragment中.无法收到粘性广播.
查看eventBus源码后发现postSticky(Object event, String tag)方法中将处理注释掉了/不知道是什么原因

目前只支持已经注册的页面接收消息.粘性消息相当于无效化.是否考虑修改代码或使用其他依赖

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.