RxBusImpl.java 文件源码

java
阅读 25 收藏 0 点赞 0 评论 0

项目:AndroidBasicLibs 作者:
@Override
public void register(Object object) {
    if (object == null) {
        throw new NullPointerException("Object to register must not be null.");
    }
    CompositeSubscription compositeSubscription = new CompositeSubscription();
    EventComposite subscriberMethods = EventFind.findAnnotatedSubscriberMethods(object, compositeSubscription);
    mEventCompositeMap.put(object, subscriberMethods);

    if (!STICKY_EVENT_MAP.isEmpty()) {
        subscriberMethods.subscriberSticky(STICKY_EVENT_MAP);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号