always show game count

This commit is contained in:
Eric House 2012-12-18 07:57:14 -08:00
parent 6690fdf122
commit 7e302aae69

View file

@ -193,12 +193,12 @@ public class GameListAdapter implements ExpandableListAdapter {
Utils.inflate(m_context, Utils.inflate(m_context,
android.R.layout.simple_expandable_list_item_1 ); android.R.layout.simple_expandable_list_item_1 );
TextView view = (TextView)row.findViewById( android.R.id.text1 ); TextView view = (TextView)row.findViewById( android.R.id.text1 );
String name = groupNames()[groupPosition]; String name = groupNames()[groupPosition];
if ( !isExpanded ) {
int nKids = getChildrenCount( groupPosition ); int nKids = getChildrenCount( groupPosition );
name = m_context.getString( R.string.group_namef, name, nKids ); name = m_context.getString( R.string.group_namef, name, nKids );
}
view.setText( name ); view.setText( name );
return view; return view;
} }