Hi everyone, I just wanted to share this piece of code, and see if someone has a better approach.
I have 2 ArrayLists of ids (strings in my case) that I need to compare.
In the final application I'm doing 1 of the ids ArrayList comes from xml loaded from a server,
the other one represent some ids of particles already on the screen, so I need to know which one to add or to remove.
Hope it will help someone as I didn't find any code around this:
ArrayList<String> A = new ArrayList<String>(); ArrayList<String> B = new ArrayList<String>();