EventBus的简单使用

1.添加依赖   implementation 'org.greenrobot:eventbus:3.1.1'ide 2.咱们最好写一个事件类post public class EventMessage {this     private int type;     private String message;事件     public EventMessage(int type, String
相关文章
相关标签/搜索