mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-06 05:24:46 +01:00
always show game count
This commit is contained in:
parent
6690fdf122
commit
7e302aae69
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue