Watchout for this little "trap" I tripped in
Totte
Posts: 13,955
I was using the DzListView and DzListViewItems
I had an object that I stored with the list view items addDataItem( String key, Object val )
It worked well, for a bit, but then when that was read back using Object : getDataItem( String key ) later on in the code (by a click handler for the list), Poof - DS crashed.
After some logging and a change, I realized that the object stored with addDataItem will be purged by the garbage collector if it's not also stored into an array in the class.
The time before the crash was very random, from 20 seconds to minutes..