So I have something like this:
protected void populateTransactionList() {
myTransactions.add(new Transaction(78,98,"hello"));
}
Now I want this to happen only if there is a new intent from another activity (that carries some data to replace the (78,98,"hello")). Since I am not very experienced with coding could somebody please help we with this little problem? (The Intent is not my problem but the population of the ArrayList. I did not find a thread that could help me with this.) thank you.