No need to make it so complicated.
Subclass Application, add your objects, getters and setters.
On 2/4/2016 12:51 PM, Kostya Vasilyev wrote:
No need to make it so complicated.
Since you mentioned that your objects aren't parcelable -- we're
talking about sharing data between various
Thank you very much! I have somewhat managed to miss the Application class
possibility completely.
In case anyone with write access to Android dev documentation reads this,
I've gone through the training and part of the API guides and I couldn't
recall this being viable.
I am going to move to
No need to make it so complicated.
Since you mentioned that your objects aren't parcelable -- we're talking
about sharing data between various places all within same process (VM).
You can just pass them around the way you normally would between methods /
classes.
To make it cleaned, I'd look
Hello,
In my program I need to pass 'live' Objects from one activity to another.
Those are most likely not parcelable and most likely not just data. I
figured out I could use a local Service to provide a cross-Activity data
sharing. It's just a map from unique ids to Object. Initial
4 matches
Mail list logo