I have four activities. Say A,B,C and D. What happens in my app is user fills data in each activity. First A then on completing the form goes to B then C and finally D. What I require are as follows:
- Data inserted by user in activities A,B and C to be available in D.
- If user navigates back like from D to C, I want the data user inserted previously to be rendered in their respective fields.
Currently I am using intents to transfer data between the activities but it seems inefficient and tidious plus not a smart way. I thought of using shared preference or database but the data required are temporary. I mean once the process completes I don't require them in future.
I would like to know if there is a better way to make data available and persist in the activities.