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
Post a Comment