本文整理汇总了Java中com.amap.api.maps.offlinemap.OfflineMapManager类的典型用法代码示例。如果您正苦于以下问题:Java OfflineMapManager类的具体用法?Java OfflineMapManager怎么用?Java OfflineMapManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
OfflineMapManager类属于com.amap.api.maps.offlinemap包,在下文中一共展示了OfflineMapManager类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: start
import com.amap.api.maps.offlinemap.OfflineMapManager; //导入依赖的package包/类
@Override
public void start() {
mOfflineMapManager = new OfflineMapManager(mContext, this);
initProvinceListAndCityMap();
adapter = new OfflineMapListAdapter(mProvinceList, mOfflineMapManager,
mContext);
mView.initAllCityList(mContext, adapter);
mDownloadedAdapter = new OfflineDownloadedAdapter(mContext, mOfflineMapManager);
mView.initDownloadedList(mContext, mDownloadedAdapter);
}
示例2: OfflineMapListAdapter
import com.amap.api.maps.offlinemap.OfflineMapManager; //导入依赖的package包/类
public OfflineMapListAdapter(List<OfflineMapProvince> provinceList,
HashMap<Object, List<OfflineMapCity>> cityMap,
OfflineMapManager amapManager, Context mContext) {
this.provinceList = provinceList;
this.amapManager = amapManager;
this.mContext = mContext;
isOpen = new boolean[provinceList.size()];
}
示例3: OfflineDownloadedAdapter
import com.amap.api.maps.offlinemap.OfflineMapManager; //导入依赖的package包/类
public OfflineDownloadedAdapter(Context context,
OfflineMapManager offlineMapManager) {
this.mContext = context;
this.mOfflineMapManager = offlineMapManager;
initCityList();
}
示例4: OfflineChild
import com.amap.api.maps.offlinemap.OfflineMapManager; //导入依赖的package包/类
public OfflineChild(Context context, OfflineMapManager offlineMapManager) {
mContext = context;
initView();
amapManager = offlineMapManager;
// mOfflineMapManager = new OfflineMapManager(mContext, this);
}