- 博客(3)
- 资源 (11)
- 收藏
- 关注
原创 设计模式之单例模式
public class A { private static int refCount; private static A mInstance; private int value; private A() { System.out.println("count:" + ++refCount); } public static A getInstance()
2015-11-19 22:02:58 356
原创 android 百度地图 实现附近的地理位置信息
功能需求百度地图 实现附近的地理位置信息实现方法利用的是百度地图的反向地理位置编码/** * 反向地址编码 * @param location 经纬度 */ private void reverseCode(LatLng location) { //反地理编码请求参数 ReverseGeoCo
2015-11-17 13:45:37 1561 1
原创 异步加载Listview The content of the adapter has changed but ListView did not receive a notification
错误The content of the adapter has changed but ListView did not receive a notification原因在Android开发过程中,使用了大量的ListView,发现这个错误偶尔会出现。特别是做压力测试的时候,不停的点击刷新,更容易出现这个错误。代码中已经使用了Adapter的notifyDataSetChanged(
2015-11-17 11:30:54 882
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人