mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
This commit is contained in:
parent
45c632b735
commit
cc39953358
1 changed files with 9 additions and 1 deletions
|
@ -102,6 +102,14 @@ public class GameListItem extends LinearLayout
|
||||||
setName();
|
setName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setSelected( boolean selected )
|
||||||
|
{
|
||||||
|
// If new value and state not in sync, force change in state
|
||||||
|
if ( selected != (null != m_origDrawable) ) {
|
||||||
|
toggleSelected();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDraw( Canvas canvas )
|
protected void onDraw( Canvas canvas )
|
||||||
{
|
{
|
||||||
|
@ -321,7 +329,7 @@ public class GameListItem extends LinearLayout
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_cb.getSelected( m_rowid ) && null == m_origDrawable ) {
|
if ( m_cb.getSelected( m_rowid ) && null != m_origDrawable ) {
|
||||||
toggleSelected();
|
toggleSelected();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue