[android-developers] activity looses ArrayList items

2012-07-02 Thread alex b
I have an activity that contains a private Vectormyobject, thread safe version of ArrayList. The activity adds items to the ArrayList, and in onSaveInstanceState() I save the data (see code below). The problem is that it looses items and it seems to have after the GC runs. So what am I

Re: [android-developers] activity looses ArrayList items

2012-07-02 Thread TreKing
On Mon, Jul 2, 2012 at 2:52 PM, alex b alex_bramb...@yahoo.com wrote: The problem is that it looses items and it seems to have after the GC runs. So what am I missing? I would guess your serializeIt and deserializeIt methods are buggy. Debug your app. Also, both onCreate and