mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
work around concurrent access exception
quick fix by copying into an array until I figure out where the other access is coming from.
This commit is contained in:
parent
284e7eb85a
commit
e5bb7c4a8b
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@ abstract class InviteDelegate extends DelegateBase
|
||||||
updateChecked( items );
|
updateChecked( items );
|
||||||
|
|
||||||
m_lv.removeAllViews();
|
m_lv.removeAllViews();
|
||||||
for ( InviterItem item : items ) {
|
InviterItem[] itemsArr = items.toArray( new InviterItem[items.size()] );
|
||||||
|
for ( InviterItem item : itemsArr ) {
|
||||||
m_lv.addView( makeViewFor( itemId, item ) );
|
m_lv.addView( makeViewFor( itemId, item ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue