registerLocationListener 过时处理
registerLocationListener
过时处理
转载: https://blog.csdn.net/xiaokang20/article/details/79836971
出现的问题:《第一行代码》中使用百度地图,registerLocationListener已过时,无法使用
问题原因与修改方法如下修改方法:
将原代码中public class MyLocationListener implements BDLocationListener
改为public class MyLocationListener extends BDAbstractLocationListener