Thanks for the suggestion, however when I debug the app the items get lost before serialization, i.e. If I set a breakpoint before serialization usually the correct items appear but occassionally all items will disappear from the vector object and it seems to have just after the GC message in LogCat.
On Monday, July 2, 2012 1:33:23 PM UTC-7, TreKing wrote: > On Mon, Jul 2, 2012 at 2:52 PM, alex b 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 onRestoreInstanceState will be called when > necessary, so you should not duplicate the same code in both methods (in > your case, calling "restoreRecents". > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

