全志Launcher代码首次提交
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.android.eventbaus;
|
||||
|
||||
|
||||
public class MessageEvent<T> {
|
||||
|
||||
public static final String ACTION_UPADATE_DATA_SOURCE="com.mxq.update.appinfo";
|
||||
public static final String ACTION_UPADATE_APPS_SOURCE="com.mxq.update.apps";
|
||||
|
||||
public static final String ACTION_UPADATE_MEDIA_STATUS="com.ik.mxq.update.media_status";
|
||||
|
||||
public int msgType;
|
||||
public String action;
|
||||
public T objectBean;
|
||||
|
||||
public MessageEvent(){
|
||||
|
||||
}
|
||||
|
||||
public MessageEvent(int msgType, String action, T msgBean) {
|
||||
this.msgType = msgType;
|
||||
this.action = action;
|
||||
this.objectBean = msgBean;
|
||||
}
|
||||
|
||||
public MessageEvent(String action, T msgBean) {
|
||||
this.action = action;
|
||||
this.objectBean = msgBean;
|
||||
}
|
||||
|
||||
public MessageEvent(String action) {
|
||||
this.action = action;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user