Changed to use friendly device names.

This commit is contained in:
Felix Ableitner 2013-06-18 23:46:06 +02:00
parent 86bafeb532
commit e4afabe96a

View file

@ -81,7 +81,8 @@ public class DeviceArrayAdapter extends ArrayAdapter<Device<?, ?, ?>>
convertView = inflater.inflate(android.R.layout.simple_list_item_1, parent, false); convertView = inflater.inflate(android.R.layout.simple_list_item_1, parent, false);
} }
TextView tv = (TextView) convertView.findViewById(android.R.id.text1); TextView tv = (TextView) convertView.findViewById(android.R.id.text1);
tv.setText(getItem(position).getDisplayString()); tv.setText(getItem(position).getDetails().getFriendlyName());
return convertView; return convertView;
} }