에러는 안나고 데이타도 잘 가지고 오는데 막상 ListView에는 안뿌려지네요
public class notice {
.......
public HashMap<String, String> hm;
public void getXMLDataList() {
String theUrl = "http://www.owllab.com/android/notice_list_main.php";
Log.i(TAG, theUrl);
ArrayList<NameValuePair> httpParams = new ArrayList<NameValuePair>();
cmsHTTP cmsHttp = new cmsHTTP();
cmsHttp.encoding = encoding;
cmsHttp.act = act;
String tmpData = cmsHttp.sendPost(theUrl, httpParams);
if (tmpData==null) return;
Log.i(TAG, tmpData);
ArrayList<noticeMainItem> noticeMI = new ArrayList<noticeMainItem>();
hm = xml2HashMap(tmpData);
Toast.makeText(act,hm.get("count").toString(), 5).show();
for (int i = 0; i < Integer.parseInt(hm.get("count")); i++) {
noticeMI.add(new noticeMainItem(hm.get("+subject[" + i + "]"), hm
.get("reg_date[" + i + "]")));
}
ListAdapter noticeListAdapter = new ListAdapter(act,
R.layout.notice_row_main, noticeMI);
noticeListAdapter.hm = hm;
ListView noticeListMain = (ListView) act.findViewById(R.id.noticeListMain);
noticeListMain.setAdapter(noticeListAdapter);
/}
}
소스를 여기에 다 적을려고 하니까 너무 지저분할거 같아서 소스를 첨부합니다
왜 안뿌려질까요?
소스를 보시고 제발 이유좀 알려주세요
부탁드리겠습니다




ListViewTest엑티비티에서 버튼 클릭해서 ListActive 엑티비티 Intent로 실행 하고 나서 ListActive에서 ListAdapter를 연결 안해 주신 것 같습니다.
그리고 한가지더 ListActive extends Activity -> ListActive extends ListActivity 로 해야 하지 않을까요 ?