Android move data between activities

Posted by Parhs on Stack Overflow See other posts from Stack Overflow or by Parhs
Published on 2013-10-23T15:50:02Z Indexed on 2013/10/23 15:53 UTC
Read the original article Hit count: 128

Filed under:

Example I have 4 activities. A B C D

A is a list of objects.

B C D are used to add a new object.

So A calls B then C then D .

However C or D have button to 'add the object'

When going up from B or C or D to activity A , A should have a List with these objects. Even if user tap back items should be 'saved'

However I dont want to start a new Intent at C or D because i dont want user to go back to A and then click again add new item.

I have been adviced to keep these data at application object. Is there any other suggestion ?

© Stack Overflow or respective owner

Related posts about android