saving values of editText in replaced fragment
- by Eppo
I have a 2 fragment layout, on the left fragment, i have a list of the different table names, on the right, i open up a different table depending on what is clicked on the right fragment.
my intention, is that the first list item is clicked, then values will be entered on the table, next the second list item is clicked, the next table opens up and those values are entered.
what would be the best way to store the values of the results entered in the editboxes, so i can process them all at once?
I'm sure i can use onPause to save them all, but would that be the best way?
Thanks