解决方案 »

  1.   

    在listview.setadapter前面,加一句adapter.additems(dongxi);
      

  2.   

    他说 The method additems(List<Map<String,Object>>) is undefined for the type SimpleAdapter呢。
      

  3.   

    我靠你这逻辑,把 List<Map<String,Object>> dongxi= new ArrayList<Map<String,Object>>();放到全局变量中,不要每次添加都new一个,你还用adapter.notifyDataSetChanged();把每次数据清理了一下那肯定只能有一条数据了啊。。