0
我得到的代碼是我有一個String [],我可以使用Intents嗎?
String[] food = new String[]{"Salads", "Sandwiches", "Drinks"};
// My own layout = rowlayout.xml with id = label
setListAdapter(new ArrayAdapter<String>(this, R.layout.rowlayout, R.id.label, food));
現在我想一個Intent添加到字符串[]的每一個項目,但問題是,有對項目沒有ID。
太棒了!它的手勢! :) – t0s 2011-12-17 02:01:47