I am compiling on SDK 4.03, Samsung Infuse Android 2.2, Support Library for Android 4, and using ViewPager in my app, actual swipe works fine, but when I do
I called setCurrentItem function in a handler and it worked fine for me.
setCurrentItem
new Handler().post(new Runnable() { @Override public void run() { myViewPager.setCurrentItem(1, true); } });
Hope this helps.