opt navi
This commit is contained in:
@@ -996,6 +996,18 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
||||
return;
|
||||
}
|
||||
|
||||
if (markerExploreWayList != null && markerExploreWayList.size() > 0) {
|
||||
markerExploreWayList.clear(); //刷新之前先删除之前的,然后再添加成请求的
|
||||
currentPosition = 0;
|
||||
}
|
||||
|
||||
//转换数据结构
|
||||
convertData(informationList);
|
||||
//切换到探路卡片
|
||||
if (!isCurrentPage) {
|
||||
iMogoCardManager.switch2(TanluConstants.MODEL_NAME);
|
||||
}
|
||||
|
||||
//清除探路之前的数据
|
||||
mMarkerManager.removeMarkers(TanluConstants.MODEL_NAME);
|
||||
|
||||
@@ -1024,6 +1036,9 @@ public class TanluCardViewFragment extends MvpFragment<IView, Presenter<IView>>
|
||||
}
|
||||
Logger.d(TAG, "getNavigationData optionList.size() = " + optionList.size());
|
||||
mMarkerManager.addMarkers(TanluConstants.MODEL_NAME, optionList, true);
|
||||
|
||||
//直接使用当前数据list,作为切换的数据源,切换左侧列表到最新的数据
|
||||
handleMarkerExploreWay(markerExploreWayList.get(0));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user