【Android】AndroidStudio关于EventBus报错解决方法its super classes have no public methods with the @Subscribe

【Android】AndroidStudio关于EventBus报错解决方法its super classes have no public methods with the @Subscribe

           1)如果基类BaseActivity或者BaseFragment,没有集成EventBus, 那么在Activity或者Fragment里添加onEvent()方法并添加注解: @Subscribe

猜你喜欢

转载自blog.csdn.net/fuweng886/article/details/80028330