I am downloading some data into a String array. Let's say ImageLinks.
How do I check if a item in array exist?
I am trying
if(ImageLinks[5] != null){}
but it gives me ArrayIndexOutOfBoundsException. (Because there are really no 5 link in the array)
if (ImageLinks.length > 5)??