I'm trying to create a button that could add another item to my listview automatically. So when people click on the button they add a new window to the list.
So for example.
List: Object 1 Object 2 Object 3 Object 4 Object 5 Object 6
Clicks on button to add a new item Object 1 Object 2 Object 3 Object 4 Object 5 Object 6 Object 7
Keep in mind this button is in another activity window.
So a button from another activity adds to a list.
how do you do that in android studio?