关于eventbus报错its super classes have no public methods with the @Subscribe的问题
来源:互联网 发布:nba比赛球员数据 编辑:程序博客网 时间:2024/06/05 22:57
关于这个错误有多种可能性
1. 用到eventbus接受的那个方法要用注解 , 比如你要在onEventMainThread接收消息那么就要给这个方法添加一个@subscribe的注解
2. 注册eventbus的地方一定要用有接收消息的方法 , 如果你想在基类中注册eventbus事件的话很大程度上会出错 , 最好是在具体的activity或者fragment中用到了注册 , 界面结束了就解绑
0 0
- 关于eventbus报错its super classes have no public methods with the @Subscribe的问题
- AndroidStudio关于EventBus报错解决方法its super classes have no public methods with the @Subscribe
- EventBus报错:and its super classes have no public methods with the @Subscribe annotation
- 【Android】AndroidStudio关于EventBus报错解决方法its super classes have no public methods with the @Subscribe
- 使用EventBus框架报异常:its super classes have no public methods with the @Subscribe annotation
- EventBus3.0报错..its super classes have no public methods with the @Subscribe annotation
- Eventbus注册异常:its super classes have no public methods with the @Subscribe annotation
- 异常 EventBusException:its super classes have no public methods with the @Subscribe annotation
- 异常 EventBusException:its super classes have no public methods with the @Subscribe annotation
- MainActivity and its super classes have no public methods with the @Subscribe annotation
- Subscriber class xxx.xxx.xxx and its super classes have no public methods with the@Subscribe annotat
- Subscriber class xxx.xxx.xxx and its super classes have no public methods with the@Subscribe annotat
- EventBusException: Subscriber class *** and its super classes have no public methods with the @Subsc
- EventBusException: Subscriber class *** and its super classes have no public methods with the @Subsc
- EventBusException: Subscriber class *** and its super classes have no public methods with the @Subsc
- EventBus 注册错误no public methods with the @Subscribe annotation
- Subscriber class .NewsFragment and its super classes have no public methods
- EventBus的使用及 解决异常Subscriber ****has no public methods called **
- [NOIP模拟题][高效算法设计][建模][BFS][记忆化搜索]
- css3 渐变效果
- MAVEN学习之旅
- 2分钟使用mybatisGenerator自动生成dao和mapper文件——使用cmd命令行
- Jquery选择器的基本选择器
- 关于eventbus报错its super classes have no public methods with the @Subscribe的问题
- android基础_第三天
- MAC 新建文本文档
- 架构师需要了解的Paxos原理、历程及实战
- 对封装、继承、多态、抽象的理解
- 解决Apache 2.4.9提示You don’t have permission to access / on this server.
- Java初级学习小记-重载和this关键字及static关键字
- 树状数组
- processBitmap - java.lang.IllegalStateException and java.io.FileNotFoundException