How can I know the instance of java.util.Arrays$ArrayList. I\'ve tried this code snippet but it does not work at all :
java.util.Arrays$ArrayList
if (myList instanceof Arrays)
Why are you using Arrays ? You must use ArrayList like in this code
Arrays
ArrayList
if (myList instanceof ArrayList) { //Do something here. }