I have an object which I need to pass into an ArrayList. The ArrayList is contained within an external method, which is in another class.

I've debugged the program and know that the information being passed into the 'Application' Constructor is being put into the 'app' object. My problem is moving it from here to the 'GuestsAttending' Method.

Any help would be greatly appreciated.

Booking Screen Method:

```
public void saveBookingInfo(View view) {
    GuestsAttending sendApplication = new GuestsAttending();

    EditText applicantNameText = (EditText) findViewById(R.id.applicantNameTextField);
    EditText itemToBurnText = (EditText) findViewById(R.id.itemToBurnTextField);

    String appName = applicantNameText.getText().toString();
    String appItemToBurn = itemToBurnText.getText().toString();

    if (appItemToBurn.isEmpty() || appName.isEmpty()) {
        Toast.makeText(BookingScreen.this, "Please fill in all fields.", Toast.LENGTH_SHORT).show();
    }
    else {
        Application app = new Application(appItemToBurn, appName);
        sendApplication.getGuestsAttending(app);

        this.finish();
    }
}

```

GuestsAttending Method:

```
public void getGuestsAttending(Application app){
    peopleAttending.add(app);
}

```

Application Class:

```
public class Application {

    private String name;
    private String item;

    public Application(String applicantName, String applicantItem) {
        name = applicantName;
        item = applicantItem;
    }
}

```