草庐IT

storeDetails

全部标签

android - 从 Google Map 的 setOnInfoWindowClickListener 接口(interface)方法替换 fragment 时 UI 挂起

我在我的应用程序中使用谷歌地图并显示标记。现在点击标记窗口我想用其他fragment替换当前fragment。for(StoreDatastore:comp.getArrStoreList()){LatLngl=newLatLng(Double.parseDouble(store.getLat()),Double.parseDouble(store.getLng()));MarkerOptionsmarker=newMarkerOptions().position(l).title(store.getName()).snippet(store.getCity()).icon(Bitma