I have this code:
for Iterator <(PhoneNumber)> i = num.iterator();
i.hasNext();)
{
PhoneNumber aNum = i.next();
String phoneNum = aNum.getNumber();
Number.append(phoneNum + "\n");
}
Basically what I want to do is to add the value of phoneNum into an array to that I can populate the array into a listview.
At the moment, the values show up into the textview (Number). If I change the append to setText, then it only adds the last value, and if I add a break, then it only shows the first value.
I don’t know if I understand well, but i can try….
and for notify the change you must call