I'm trying to copy elements from one arrayList into another, I starting getting errors in my app and I think the problem is that I was doing shallow copies.
How can I add an item from one array into another doing a deep copy/clone?
This is how I was copying the elements up to now:
public ArrayList<ResolveInfo> myAppsArr = new ArrayList();
public ArrayList<ResolveInfo> allAppsArr = new ArrayList();
myAppsArr.add(allAppsArr.get(0));