has no public methods called onEvent
来源:互联网 发布:华为网络培训视频 编辑:程序博客网 时间:2024/06/06 01:32
private IMServiceConnector imServiceConnector = new IMServiceConnector() {
@Override
public void onIMServiceConnected()
{
logger.d("RegisterFragment#onIMServiceConnected");
imService = imServiceConnector.getIMService();
if (imService == null)
{
logger.e("RegisterFragment#onIMServiceConnected# imservice is null!!");
return;
}
EventBus.getDefault().registerSticky(this);
}
@Override
public void onServiceDisconnected()
{
if (EventBus.getDefault().isRegistered(this)) {
EventBus.getDefault().unregister(this);
}
}
};
将
EventBus.getDefault().registerSticky(this);
移至onCreate方法中。
- has no public methods called onEvent
- EventBus的使用及 解决异常Subscriber ****has no public methods called **
- EventBus的使用及 解决异常Subscriber ****has no public methods called **
- EventBus的使用及 解决异常 has no public methods called
- EventBus 注册错误no public methods with the @Subscribe annotation
- 异常 EventBusException:its super classes have no public methods with the @Subscribe annotation
- EventBusException: Subscriber class *** and its super classes have no public methods with the @Subsc
- 异常 EventBusException:its super classes have no public methods with the @Subscribe annotation
- Subscriber class .NewsFragment and its super classes have no public methods
- EventBusException: Subscriber class *** and its super classes have no public methods with the @Subsc
- 关于eventbus报错its super classes have no public methods with the @Subscribe的问题
- 使用EventBus框架报异常:its super classes have no public methods with the @Subscribe annotation
- EventBus报错:and its super classes have no public methods with the @Subscribe annotation
- EventBusException: Subscriber class *** and its super classes have no public methods with the @Subsc
- 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
- AndroidStudio关于EventBus报错解决方法its super classes have no public methods with the @Subscribe
- MainActivity and its super classes have no public methods with the @Subscribe annotation
- Linux防火墙限制指定端口只能由指定IP访问
- Spring MVC启动及其原理
- typedef 的作用域
- 用C语言编程使51单片机的数码管左移循环显示
- 堆——鱼塘钓鱼:简直爽!
- has no public methods called onEvent
- 基于51单片机的4×4矩阵键盘电子琴
- 关于51单片机双字节(带有小数)无符号除法的问题
- sql判断空操作
- 在百度开博满一年了
- 最简单的单片机交通信号灯
- 利用 PROTEUS 软件调试串口通信最简单实用的方法
- ExtJS 下载文件
- 利用单片机串口通信,使蜂鸣器发音