-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating appstate without useraction #98
Comments
Hey hey -- in this case, you'll want to use a This article does a good job of explaining the process, using Firestore as the Streaming data source: https://medium.com/shift-studio/flutter-redux-and-firebase-cloud-firestore-in-sync-2c1accabdac4 |
Hi again, thank you very much. That seems to be the solution. I already have middleware but somehow I could not connect the middleware to the grpc/protobuf client which is streaming the notifications. ;) |
Ah, gotcha! Yah, hopefully you can just do a Please let me know if I can help further :) |
Thank you very much i will just try it out. Since the app is getting more complicated, I changed my mind and try to use redux instead of managing the state manually. I appreciate it very much. thank you for answering so quickly. |
I have now a working version of my code using redux and grpc client. Thank you @brianegan |
Hi all,
i have some card items to layout within a listview which are stored in an appstate but the ui changes do not triggered by any user. The ui should only be updated by a server which has the itemstates too. The server streams the new item states constantly.
Like
Item { ValueChanged<bool> isConnected; }
Client.isConnected.addlistener( handleChange )
handleChange(){ updateAppState () ) ---> rebuild Widgets
How can I archieve this?
Maybe a litte help or example?
Thank you .
The text was updated successfully, but these errors were encountered: