I have an Arraylist AList
which has over 100000 items. I need to show each and every data item in the UI. But TeaxtArea.addtext(AList);
shows data in this manner
[A,B,C,D..........]
likewise. What I need to do is to print this in ta a page. So I have to pass the node tho the PrinterJob
.
Is there Anyway that I can remove the commas and replace it with newline all at once. I can not use appendText
hence appending 100000 items make the UI non respond.
PS: I have already collected the data From a Thread and Have it on an ArrayList. I do not have a problem in updating it on a ListView, But there is a issue when did it on a TextArea. I wont to change the format of printing without using Append