Changed to use friendly device names.
This commit is contained in:
parent
86bafeb532
commit
e4afabe96a
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue