Rework manage applications to be page-able.
Turn everything around so that we can have multiple list views with their own adapters. Switch to using a ViewPager for managing the different lists. Smile! Change-Id: I9c102abb06cf67f313a8696507aa4597b38c7ab9
This commit is contained in:
@@ -42,7 +42,7 @@ public class AppViewHolder {
|
||||
}
|
||||
}
|
||||
|
||||
void updateSizeText(ManageApplications ma, int whichSize) {
|
||||
void updateSizeText(CharSequence invalidSizeStr, int whichSize) {
|
||||
if (ManageApplications.DEBUG) Log.i(ManageApplications.TAG, "updateSizeText of " + entry.label + " " + entry
|
||||
+ ": " + entry.sizeStr);
|
||||
if (entry.sizeStr != null) {
|
||||
@@ -58,7 +58,7 @@ public class AppViewHolder {
|
||||
break;
|
||||
}
|
||||
} else if (entry.size == ApplicationsState.SIZE_INVALID) {
|
||||
appSize.setText(ma.mInvalidSizeStr);
|
||||
appSize.setText(invalidSizeStr);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user