We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大神江湖救急: 概率性挂掉 希望能帮忙解决一下
使用了com.hwangjr.rxbus:rxbus:2.0.0后 有时线上用户会出现crash
public class RxBus { private static Bus sBus;
public RxBus() { } public static synchronized Bus get() { if(sBus == null) { sBus = new Bus(ThreadEnforcer.ANY); } return sBus; }
}
post地方
RxBus.get().post(RXTags.UNREAD_COUNT_ADD, ""); //增加一条未读消息
接收的地方 @subscribe(tags = {@tag(RXTags.UNREAD_COUNT_ADD)}) public void setUnreadAdd(String no) { //查询未读个数 cureFunApi.qryUnReadCount(MyApplication.getInstance().getUserId()); }
The text was updated successfully, but these errors were encountered:
check 下 com.curefun.tools.e.H(string) 方法的 mapping,看是具体什么类什么方法。看着是你代码里面有使用到反射? 或者最简单处理方式就是:
com.curefun.tools.e.H(string)
@subscribe(tags = {@tag(RXTags.UNREAD_COUNT_ADD)}) public void setUnreadAdd(String no) { try { //查询未读个数 cureFunApi.qryUnReadCount(MyApplication.getInstance().getUserId()); catch(Exception e) { // exception } }
Sorry, something went wrong.
feel free to reopen the issue if you still have problems.
No branches or pull requests
大神江湖救急:
概率性挂掉
希望能帮忙解决一下
使用了com.hwangjr.rxbus:rxbus:2.0.0后 有时线上用户会出现crash
public class RxBus {
private static Bus sBus;
}
post地方
RxBus.get().post(RXTags.UNREAD_COUNT_ADD, ""); //增加一条未读消息
接收的地方
@subscribe(tags = {@tag(RXTags.UNREAD_COUNT_ADD)})
public void setUnreadAdd(String no) {
//查询未读个数
cureFunApi.qryUnReadCount(MyApplication.getInstance().getUserId());
}
The text was updated successfully, but these errors were encountered: