解决方案 »
- BaseExpandableListAdapter,按钮Button动态时的Id获取问题
- 如何实现listview上的多选和全选,并可以把选中的内容移动,删除
- 谁有安卓视频转换的源码啊
- android更新版本
- 各位大大请教1个X264的问题
- 请问,Andorid新手上路的提问(NDK || SDK or C++/QT ?)..
- Android系统的手机支持.AAC格式的音乐文件的播放么?
- Android皮肤切换
- 如何进行手机屏幕适配?
- android两个Activity频繁切换导致内存溢出:dequeue native buffer fail
- acticity跳转出现问题,意外停止
- 【android SDK _ 时间】日历类获得指定日期的星期不正确?
http://www.open-open.com/lib/view/open1336025355359.html
int resource, String[] from, int[] to) {
mData = data;
mResource = mDropDownResource = resource;
mFrom = from;
mTo = to;
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
}
这是源码, List<? extends Map<String, ?>> data,在你这里是dList, dList.add(data)没有;
2.第二段代码为啥没有dlist。add(data)呢
map.put("name", "张三");
map.put("num", "110");
item.add(map);
adapter.notifyDataSetChanged();
listview.setAdapter(adapter);