徐一村

关注

eventbus

徐一村

关注

阅读 78

2022-03-22

implementation 'org.greenrobot:eventbus:3.1.1'

EventBus.getDefault().post(new String());

EventBus.getDefault().unregister(this);

@Subscribe(threadMode = ThreadMode.MAIN)
public void onEvent(LogoutEvent event) {
   

}

相关推荐

捌柒陆壹

【EventBus】EventBus源码浅析

捌柒陆壹 23 0 0

一叶随风_c94d

EventBus

一叶随风_c94d 108 0 0

小龟老师

EventBus源码解析(二)-EventBus实例化

小龟老师 97 0 0

悲催博士僧

Flutter eventBus

悲催博士僧 62 0 0

静悠

EventBus使用详解(一)——初步使用EventBus

静悠 58 0 0

c一段旅程c

集成EventBus

c一段旅程c 74 0 0

晴儿成长记

Android -- EventBus

晴儿成长记 65 0 0

千白莫

Android EventBus源码解析 带你深入理解EventBus

千白莫 73 0 0

承蒙不弃

Guava 之 EventBus

承蒙不弃 151 0 0

夏侯居坤叶叔尘

Flutter实现EventBus

夏侯居坤叶叔尘 49 0 0

精彩评论(0)

0 0 举报