Hi everyone, I'm working on a simple Compose Deskt...
# compose
r
Hi everyone, I'm working on a simple Compose Desktop app with a ribbon, content view, and bottom tray for showing progress of long running tasks. Right now a Scaffold is the main component I'm using for this and that's working well as advertised. What I'm stuck on is how to allow any part of the app to show and update the progress indicator. Is this a case for an App-level state holder that gets passed around? Maybe I just stick with callbacks? I appreciate any insight or examples you can share!
a
Not really sure I understand your issue. You basically need to have a state in your common parent and update it. There are other ways to do it but this is probaly the most simple and generic one
r
That works quite well! At the time I implemented it I wondered if it was the right pattern to follow or if I was missing something