On Sat, Apr 3, 2010 at 10:52 PM, Sebastián Treu <[email protected]>wrote:
> Is ImageButton Serializable? > You can find this out in about 2 seconds by reading the documentation... > Can we send ImageButton with Intents or do we have to extend and > ImageButton to implement Parcelable? > Probably neither. Why do you want to pass an ImageButton around anyway? You really shouldn't be passing around Views of any kind, you should be passing around *data*. So, for example, you could pass the id of the drawable resource to be used by an ImageButton in your second activity instead of trying to pass the ImageButton itself. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.

