ArrayAdapter<String> mAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_expandable_list_item_1,mFileName);
ListView点击事件的处理:
private AdapterView.OnItemClickListener fileListViewItemClickListener =
new AdapterView.OnItemClickListener(){
@Override
public void onItemClick(AdapterView<?> parent, View view, int position,
long id) {
// TODO Auto-generated method stub
//test.........................
// TextView textview = (TextView)findViewById(R.id.textViewfile);
// textview.append(mFileName.get(position).toString());
}
};
新闻热点
疑难解答
图片精选