Slightly optimise greyed out apk/app views
This commit is contained in:
parent
eb1d21f827
commit
19583c2b75
@ -110,9 +110,11 @@ abstract public class AppListAdapter extends BaseAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Disable it all if it isn't compatible...
|
// Disable it all if it isn't compatible...
|
||||||
View[] views = { convertView, status, summary, license, name };
|
if (!app.compatible) {
|
||||||
for (View view : views) {
|
View[] views = { convertView, status, summary, license, name };
|
||||||
view.setEnabled(app.compatible);
|
for (View view : views) {
|
||||||
|
view.setEnabled(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return convertView;
|
return convertView;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user