Fix issue where All Apps tab bar was too small
Change-Id: I702ca5ce32a6346f09c61765aa63625d3d50cc92
This commit is contained in:
1 parent
2c30c8596e
commit
983e3fdf20
4 files changed
+37
-27
No files matched your search
@@ -1514,6 +1514,18 @@ public abstract class PagedView extends ViewGroup {
|
||||
*/
|
||||
public abstract void syncPageItems(int page);
|
||||
|
||||
protected void postInvalidatePageData(final boolean clearViews) {
|
||||
post(new Runnable() {
|
||||
// post the call to avoid a call to requestLayout from a layout pass
|
||||
public void run() {
|
||||
if (clearViews) {
|
||||
removeAllViews();
|
||||
}
|
||||
invalidatePageData();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
protected void invalidatePageData() {
|
||||
if (mContentIsRefreshable) {
|
||||
// Update all the pages
|
||||
|
||||
Reference in new issue
Block a user