2013-08-20 38 views
0

我在我的應用程序中使用視圖傳呼機我在應用程序中跳轉到功能,用戶可以通過選擇一些網格視圖索引跳轉到所需的頁面。查看傳呼機當前視圖選擇

我不知道哪一個視圖尋呼機的方法將選擇像接頭主機,我們有這個

TabHost.setCurrentTab(tabindex); 

我需要這樣的

回答

1

一些東西試試這個方法所需的頁面:

pager.setCurrentItem(Integer.parseInt(jumpTo_ET.getText().toString())-1); 

//pager is your View Pager Object and 
//jumpTo_ET is the EditText object from which you are getting the page index to navigate. 
相關問題