由网友(墨樱)分享简介:我如何传递的Android activites之间的自定义对象?我知道捆绑,但我似乎无法看到他们为这个任何功能。谁能告诉我这方面的一个很好的例子?How do I pass custom objects between activites in android? I'm aware of bundles but...
我如何传递的Android activites之间的自定义对象?我知道捆绑,但我似乎无法看到他们为这个任何功能。谁能告诉我这方面的一个很好的例子?
How do I pass custom objects between activites in android? I'm aware of bundles but I can't seem to see any functionality for this in them. Could anyone show me a nice example of this?
推荐答案
您应该实现Parcelable接口。的http://bimbim.in/post/2010/09/27/Android-Passing-object-from-one-activity-to-another.aspx
You should implement Parcelable interface. http://bimbim.in/post/2010/09/27/Android-Passing-object-from-one-activity-to-another.aspx
修改的链接文档:的http:// developer.android.com/reference/android/os/Parcelable.html
相关推荐
最新文章