Android 如何使用自定义的listview

Android 如何使用自定义的listview,android,Android,嗨 如何将自定义listview与textview和imageview结合使用 ListView lv = (ListView) findViewById(R.id.ListView01); this.getListView().setCacheColorHint(00000000); String[] data = new String[] { "aac", "xsfdf", "dsf", "frgr" }; int[] to = new int[] { R.id.TextView

嗨 如何将自定义listview与textview和imageview结合使用

ListView lv = (ListView) findViewById(R.id.ListView01);
  this.getListView().setCacheColorHint(00000000);
  String[] data = new String[] { "aac", "xsfdf", "dsf", "frgr" };
  int[] to = new int[] { R.id.TextView01};
   SimpleAdapter adapter = new SimpleAdapter(
           this,null,R.layout.newimage,data, to);
    setListAdapter(adapter);
但它不起作用。 帮助我。
Thanx

这不是使用自定义listview的方式,这里您需要创建自定义适配器
参考此