am 4c826609: am a83ae6bf: am 330ae983: Merge "Fix issue where All Apps tab bar was too small" into honeycomb-mr2
* commit '4c826609208012e7219ecdacde4348b0dd7973bd': Fix issue where All Apps tab bar was too small
This commit is contained in:
commit
dcfc25ca5f
4 files changed
+37
-27
No files matched your search
@@ -1549,6 +1549,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