2014年11月27日 星期四

android viewpager solve setCurrentItem not working

mActivity.runOnUiThread(new Runnable() {  
         public void run()  
         {  
          try{
mPager.setCurrentItem(page);
          }catch(Exception e){
       
          }
     
         }  
     });  

沒有留言:

張貼留言