Fixing crash with invalid current page.
Change-Id: I36e76176b6172a747a6526d96b82c9870b56067c
This commit is contained in:
1 parent
c53d77c7b0
commit
b88ae4158d
1 file changed
+1
-1
@@ -515,7 +515,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
* re-enable scrolling.
|
||||
*/
|
||||
void stopScrolling() {
|
||||
mCurrentPage = mNextPage;
|
||||
mCurrentPage = getNextPage();
|
||||
forceFinishScroller();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user