I know it must be an easy question. But I couldnt find any solution. I have a message array;
Message[] messages;
And it has 9 item and I want to delete one of them when I click the button. But I couldnt find any remove or delete function for that.
What I want to do is something like:
messages[1].remove;
or
messages.remove(1);
And then my array has 8 item. I am working on Eclipse-Android.
1 Answer