mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
call setPct on new group item if appropriate
This commit is contained in:
parent
9a55c97793
commit
9351eb257b
1 changed files with 8 additions and 1 deletions
|
@ -206,8 +206,15 @@ public class GameListAdapter extends XWListAdapter
|
|||
groupInfo.m_expanded,
|
||||
m_cb, this );
|
||||
|
||||
if ( !groupInfo.m_expanded ) {
|
||||
GameGroupInfo ggi = getInfoForGroup( groupPosition );
|
||||
group.setPct( m_handler, ggi.m_hasTurn, ggi.m_turnLocal,
|
||||
ggi.m_lastMoveTime );
|
||||
}
|
||||
|
||||
String name = m_context.getString( R.string.group_namef,
|
||||
groupNames()[groupPosition], nKids );
|
||||
groupNames()[groupPosition],
|
||||
nKids );
|
||||
group.setText( name );
|
||||
group.setSelected( m_cb.getSelected( group ) );
|
||||
result = group;
|
||||
|
|
Loading…
Add table
Reference in a new issue