KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to reuse the same view object (not the view class, or the xml file, I mean the object in the memory) in different Activities. I almost had this done. The thing is, of course, the context. I tried with the application context. It almost worked, but then when I click on the view I am transmitting between different activities, and try to start another application from it (or link) it crashed. (I don't remember the exact crash, but I'll dig it, if you need it). I tried with some activity, that I didn't mind leaking once, and giving it as a Context. It worked, actually everything worked, until I began to get weird exceptions in ViewFlipper. My question is, is this reusing really possible, and how to do it stable? Have you got any experience with that? Thanks A LOT in advance, Dan
Tags (comma-separated)
Save Edits
Cancel