use of com.eros.framework.model.NavModule in project WeexErosFramework by bmfe.
the class EventNav method nav.
public void nav(String params, Context context) {
ParseManager parseManager = ManagerFactory.getManagerService(ParseManager.class);
NavModule navModule = parseManager.parseObject(params, NavModule.class);
if (navModule != null) {
String type = navModule.getType();
if ("amap".equals(type)) {
navByAmap(context, navModule);
} else if ("baidu".equals(type)) {
navByBaidumap(context, navModule);
}
}
}
Aggregations