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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -