• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Two page form question - architecture

This is a general architectural question.

I want to offer a user a simple two page form. The first page will have a few Spinners for the user to select options from. The second page will have a series of EditTexts for the user to fill in. After the second page, the user clicks a button to generate a text file based on the values they have input.

My question is: What is the best way to handle preserving the data from the spinners on the first page of the form, in order to place them into the text file?

I feel like the "architecture" should be something like this:
1. User selects Spinner values on first page and clicks button to move to next page of form..
2. Spinner values are placed in database
3. User fills in EditTexts on second page. Clicks button to generate text file.
4. Database is queried for Spinner values, which are added to newly created text file, then EditText values are added

Does this strategy make sense? Does anyone have advice on a better way of handling the gathering of two pages of form input then using it to create a text file?

The user would need to be able to flip back and forth between the form pages as needed.
 
Back
Top Bottom