2011-06-15 66 views
0

您好我做這個教程http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html我的列表視圖不可選

,但我不能選擇在ListView THI項目..

我怎樣才能解決這個?

我don'y瞭解博客上的評論..

也許問題是在這裏

ListView list = (ListView)findViewById(R.id.ListView_addConta); 
    DBAdapter db = new DBAdapter(Contas.this);  
    db.open();  
    List<Conta> listOfConta = db.getContas();   
    ContaAdapter adapter = new ContaAdapter(this, listOfConta);   
    list.setAdapter(adapter); 

回答