with the topic name everyone should be confused let me explain my question.i have two activity in first activity there is two edit text and two button one button is next and other is set. if i enter some values in the edit text and press the next button it will go so next page. In the second page after making some process and come to the first page when i press a button from second activity the values in the edit text in the first Activity will be disappear.my question that is there any solution to make the edit text value remain same in the page even after coming from the other activity.
with the topic name everyone should be confused let me explain my question.i have
Share
You could save your values in your EditTexts like so:
and you could start the 2nd activity for a result. When you return from the second activity, you can retrieve the values by using the getStringExtra() method