Skip to content

Pass output to GUI while command still running #113

Answered by Tyrrrz
chucker asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@chucker
Comment options

@Tyrrrz
Comment options

@chucker
Comment options

@Tyrrrz
Comment options

Answer selected by chucker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants