I'm new to Android and I have the following problem. I have a screen (Activity) where the payment condition and the type of payment are informed.
Clickingonthepaymentconditionfieldopensanotherscreenwithalistofpaymentterms
When I click on an item in the list I select an item from that list back to the previous screen where it loads the values of the selected item as seen in the first image. But when I click on the payment type field it performs the same process opens a new screen with the list of payment types and clicking on an item in the list goes back to the previous screen with the payment type information. However, returning to the screen loads the payment type information, but clears previously loaded information from the payment method.
- How should I handle so that previously filled information is not lost?