I'm wondering how to change a variable inside an object in an ArrayList.
I have tried myList.get(i); but this returns an <Object> and I don't understand what to do this.
(Basically) What I have:
ArrayList list = new ArrayList();
Issue issue = new Issue();
list.add(issue);
What i want to access later, via the list:
issue.myString;
So to clarify, I have an instance of class Issue inside ArrayList list, and I want to change issue.myString
Issuefor example -> ((Issue)list.get(index)).myString