Suppose I have an ArrayList containing Object[]{"Hello",10,abitmap} at index 0 and Object[]{"How are you?",20,bbitmap} at index 1
How can I get for example "Hello" from index 0?
How can I replace 20 by 15in index 1?
How can I fill all the third columns in the ArrayList by cbitmap using Collections.fill for example?
Thanks for your help.
Instead of having an Object [], create an inner class, such as:
Then, create your
ArrayListlike this:ArrayList<ImageObject> objects = new ArrayList<ImageObject>();