当前位置: 首页>>代码示例>>Java>>正文


Java OfflineMapManager类代码示例

本文整理汇总了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);

}
 
开发者ID:Alex-ZHOU,项目名称:VMAndroid,代码行数:14,代码来源:OfflineMapPresenter.java

示例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()];
}
 
开发者ID:Alex-ZHOU,项目名称:VMAndroid,代码行数:10,代码来源:OfflineMapListAdapter.java

示例3: OfflineDownloadedAdapter

import com.amap.api.maps.offlinemap.OfflineMapManager; //导入依赖的package包/类
public OfflineDownloadedAdapter(Context context,
                                OfflineMapManager offlineMapManager) {
    this.mContext = context;
    this.mOfflineMapManager = offlineMapManager;
    initCityList();

}
 
开发者ID:Alex-ZHOU,项目名称:VMAndroid,代码行数:8,代码来源:OfflineDownloadedAdapter.java

示例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);
}
 
开发者ID:Alex-ZHOU,项目名称:VMAndroid,代码行数:7,代码来源:OfflineChild.java


注:本文中的com.amap.api.maps.offlinemap.OfflineMapManager类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。