Tried hiding empty systems for hardware, but it hides stuff that isn't empty.

This commit is contained in:
James Skemp 2015-09-04 21:51:24 -05:00
parent e5947b07a4
commit b2cb5db5f7
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ public class HardwareSelectionListAdapter extends ArrayAdapter<VideoGameHardware
TextView system = (TextView) convertView.findViewById(R.id.list_hardware_selection_system);
system.setText(item.system());
if (system.getText().length() == 0) {
//system.setVisibility(View.GONE);
}
title.append(" (Own: " + item.own + ")");