02 2014 档案
摘要:分解List> 的方法:List> mapList;for(HashMap h: mapList){ for(String key:h.keySet()){ String value=h.get(key); }}orList> mapList;for (HashMap map : mClientMsg) {mClientcode.setText(map.get(mErrCode));mClientid.setText(map.get(mClientID));mClientname.setText(map.get(mClientName));mClientnum.setTe..
阅读全文
摘要:最近有一个需求要实现listview的不同布局!因为有好几上header,就想到了ExpandableListView!这个是我的需求模型:看图(自己画的)然后百度~google~发帖~总算有点效果了!其他的就不多说了。直接主要代码讲解--主要是适配器的部分:ExpandableListAdapter.javepublic class ExpandableListAdapter extends BaseExpandableListAdapter { // Client Status private String mClient_id; private String mClient_name;
阅读全文

浙公网安备 33010602011771号