-
I have a Xamarin Forms app that runs some CLI commands. A button is assigned to an
The goal here is, as soon as a full line has been written to stdout, it should be added to the text box. Now, running Is there something I need to do to force a different flush behavior? Are my assumptions correct (for example, the API doc for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This worked for me. The output was being written in real time and I could put a breakpoint to verify that it triggered on every line. Are you sure the issue is not within Maybe the value of |
Beta Was this translation helpful? Give feedback.
This worked for me. The output was being written in real time and I could put a breakpoint to verify that it triggered on every line.
Are you sure the issue is not within
await Device.InvokeOnMainThreadAsync(() => Output += s + Environment.NewLine);
?Maybe the value of
Output
is updated but the view is somehow not updating? Try to put a breakpoint inside the delegate and see what's going on.