Fixing regression due to removal of updateCurrentPageScroll() call in previous commit.

Change-Id: Ibf43b1f671c3348e6023e79b094d0beb2dc7637d
This commit is contained in:
Winson Chung
2013-07-17 15:36:20 -07:00
parent 02b3a8ca1f
commit 181c3dc582

View File

@@ -496,6 +496,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
mForceScreenScrolled = true;
mCurrentPage = Math.max(0, Math.min(currentPage, getPageCount() - 1));
updateCurrentPageScroll();
notifyPageSwitchListener();
invalidate();
}