listview android 換頁問題
發表人:
訪客
private void gotoMainMenu() {
ListView list;
String[] items = {"first", "second", "third"};
list = (ListView) findViewById(R.id.listView1);
想問一下.....要怎麼寫才能 點下first, second, third 換到
first.xml
second.xml
third.xml
ListView list;
String[] items = {"first", "second", "third"};
list = (ListView) findViewById(R.id.listView1);
想問一下.....要怎麼寫才能 點下first, second, third 換到
first.xml
second.xml
third.xml
發表人:
Seachaos
積分: 2432
積分: 2432
你可以使用在ListView的onClick事件中做切換Activity的方式來達成
這是一個比較簡單的方法 :)
這是一個比較簡單的方法 :)