Merge "Introduce mTaskViewCount inside the RecentsView" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
4d4eb7d685
@@ -903,12 +903,14 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
@Override
|
||||
public void onViewAdded(View child) {
|
||||
super.onViewAdded(child);
|
||||
mPageScrolls = null;
|
||||
dispatchPageCountChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewRemoved(View child) {
|
||||
super.onViewRemoved(child);
|
||||
mPageScrolls = null;
|
||||
runOnPageScrollsInitialized(() -> {
|
||||
mCurrentPage = validateNewPage(mCurrentPage);
|
||||
mCurrentScrollOverPage = mCurrentPage;
|
||||
|
||||
Reference in New Issue
Block a user