This commit is contained in:
Eric House 2013-10-14 06:54:43 -07:00
parent 45c632b735
commit cc39953358

View file

@ -102,6 +102,14 @@ public class GameListItem extends LinearLayout
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
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();
}
}