I have a service that runs a very long process. It uses the Observer pattern to notify its caller with Strings detailing how things are going.
In the screen that calls this service I’d like to show these lines as they are reported. The problem is, once the service is invoked, the UI is locked, and the lines all spam-report when the service is done.
Is there a way around this?