I have a TextArea view that I'm using to show progress log from a long running sub (several minutes)
Here is the code I use every 1000 results (about a second of running time) to update the TextArea with the content of a text buffer
What really happens is that the TextArea is only updated at the end of the long running sub (and also is not scrolled to the bottom, but it stays at the top)
Here is the code I use every 1000 results (about a second of running time) to update the TextArea with the content of a text buffer
B4X:
TextArea1.Text = Logger.GetBuffer
TextArea1.SetSelection(TextArea1.Text.Length, TextArea1.Text.Length)
Sleep(0)