Merge "Fix bug where view stays invisible due to view recycling before it gets reset." into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b263e6fe29
@@ -153,6 +153,7 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> {
|
||||
CellLayout page = (CellLayout) getChildAt(i);
|
||||
ShortcutAndWidgetContainer container = page.getShortcutsAndWidgets();
|
||||
for (int j = container.getChildCount() - 1; j >= 0; j--) {
|
||||
container.getChildAt(j).setVisibility(View.VISIBLE);
|
||||
mViewCache.recycleView(R.layout.folder_application, container.getChildAt(j));
|
||||
}
|
||||
page.removeAllViews();
|
||||
|
||||
Reference in New Issue
Block a user