android - View Pager Current View Selection -


i using view pager in application have jump feature in application user can jump desired page selecting index of grid view.

i have no idea method of view pager select desired page in tab host have method

tabhost.setcurrenttab(tabindex); 

i need thing this

try this:

pager.setcurrentitem(integer.parseint(jumpto_et.gettext().tostring())-1);  //pager view pager object ,  //jumpto_et edittext object getting page index navigate. 

Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -