当前位置:   article > 正文

Subscriber class xxx.xxx.xxx and its super classes have no public methods with the@Subscribe annotat_subscriber class com.topdon.tool.mainactivity and

subscriber class com.topdon.tool.mainactivity and its super classes have no

使用EventBus 3.0.0-beta1的出现bug

报错的原因提示:提示我的onEventMainThread方法不是public 缺少@Subscribe这个注解。按照提示改为public 并且加上@Subscribe这个注解就Ok了。


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/251245
推荐阅读
相关标签
  

闽ICP备14008679号