0
私は私のAndroidアプリに問題がある、私は検索が、答えを見つけることができない、私はこのコードを持っている:AndroidのListViewコントロール
public class Matematika extends ListActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
String[] mStrings = new String[]{"Mother", "Sister", "Brother"};
// Create an ArrayAdapter, that will actually make the Strings above appear in the ListView
this.setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, mStrings));
}
}
を、私はこの例のようにしたい:私は上をクリックします母と次に行きたいListActivity(それが本当ならそれを意図した新しいアクティビティ)、ListActivity、別のオプションがあります....
ありがとう。