Question: in AndroidStudio The app passes an ArrayList that contains Persons John and Mary from Activity 1 to Activity2, upon clicking a button. Activity 2 adds

in AndroidStudio
The app passes an ArrayList that contains Persons "John" and "Mary" from Activity 1 to Activity2, upon clicking a button. Activity 2 adds to the ArrayList a third Person, "Anna". Person is a class that has one instance variable name of type String. You may add to Person any methods or constructors that you think are needed. Figure 1 shows Activity 1 the app when it first starts. Figure 2 shows Activity 2 after is has relieved the ArrayList from Activity1. Figure3 shows Activity1 after the button "SEND DATA TO ACTIVITY1" has been clicked and the back button is pressed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
