类 LiveEventBusCore
- java.lang.Object
-
- com.jeremyliao.liveeventbus.core.LiveEventBusCore
-
public final class LiveEventBusCore extends java.lang.ObjectLiveEventBusCore
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Configconfig()use the class Config to set params first of all, call config to get the Config instance then, call the method of Config to config LiveEventBus call this method in Application.onCreateObservableConfigconfig(java.lang.String key)static LiveEventBusCoreget()<T> Observable<T>with(java.lang.String key, java.lang.Class<T> type)
-
-
-
方法详细资料
-
get
public static LiveEventBusCore get()
-
with
public <T> Observable<T> with(java.lang.String key, java.lang.Class<T> type)
-
config
public Config config()
use the class Config to set params first of all, call config to get the Config instance then, call the method of Config to config LiveEventBus call this method in Application.onCreate- 返回:
- Config
-
config
public ObservableConfig config(java.lang.String key)
-
-