I created an Integer array and I want to insert an index of a string;
indexes[i] = theText.indexOf(R.getString(0), i);
But I get an error about using indexOf.
How can I fix that?
*I can’t change the array to int because I have a comparison of array index to null
Thanks!
indexes is array of Integers?
Maybe you are using Java 1.4. It doesn’t support autoboxing. Try