I’ve 2 activities, Activity1 and Activity2.
In Activity1
I’ve a Button and TextView.
When the button is clicked Activity2 is started.
In Activity2
I’ve an EditText.
I want to display the data retrieved from EditText in Activity2 in the TextView in Activity1 when back is pressed from Activity2.
can someone help me with the code to make this work?