开发者

Efficient method to access data across activities

I have a small app that records messages and stores them in an object which implements Parcelable. In the app I have a LOT of messages (about 2000) and it takes a considerable amount of time passing between Activities through intent.putParcelableArrayListExtra

Is this not the correct usage of Intents+Parcelable? I've been really wanting to avoid开发者_Python百科 SQLite, but I suppose I'll get my hands dirty if its absolutely necessary.


You should definitely persist your messages in a database. If you want to avoid all the SQLite hassle check db4o, painless object persistence in your apps using an OODB.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜