Multiple step registration process in a single activity with fragments
<p>I'am trying to create a multiple-step registration activity that handles several fragments. Each fragments is a step in the process and the final fragment should send the registration information collected in all fragments to a server and get a response. My problem is thinking how should I handle the information across fragments so that if the user goes back one step he will not loose the previously typed information. And also how should I handle these Fragment transactions. I was thinking in storing all the data in the activity and retrieve it each time the user goes back one step and then retrieve it in the final fragment to send the information but I don't think this is the best approach. Is there any way to do this cleanly?</p>