java.lang.Object | |
↳ | com.tencent.navix.api.NavigatorZygote |
导航构造器
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static Context | applicationContext |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NavigatorContext |
context()
获取NavigatorContext
| ||||||||||
void |
init(NavigatorConfig navigatorConfig)
初始化。调用其他方法前需要调用该方法初始化导航SDK
| ||||||||||
LocationApi |
locationApi()
获取定位Api
| ||||||||||
<T extends Navigator> T |
navigator(Class<T> clazz)
获取导航Api
| ||||||||||
<T> T | object(Class<T> clz, Bundle bundle, Object... args) | ||||||||||
<T> T | object(Class<T> clz) | ||||||||||
<T extends NavigatorLayerRoot<?>> T |
view(Class<T> clazz)
获取导航视图实例
| ||||||||||
<T extends NavigatorLayerRoot<?>> T |
view(Class<T> clazz, AttributeSet attrs, int defStyleAttr)
获取导航视图实例
| ||||||||||
static NavigatorZygote | with(Context context) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
初始化。调用其他方法前需要调用该方法初始化导航SDK
navigatorConfig | 导航SDK配置 |
---|
获取导航Api
获取导航视图实例
获取导航视图实例