Flutter MobX ObservableList not updating UI when modifying items directly
I’m using MobX in my Flutter app and encountering an issue with updating the UI. I have an ObservableList that I use to render a list of items on the screen. The ObservableList is typed as ObservableList<SelectItem>. When I click on one of the rendered boxes, it should theoretically update the entire widget that is wrapped with an Observer. However, it only updates when I use methods like .remove, .add, .clear, etc…
How do I need write periodic timer to test connection to the server using Mobx?
I want to write the ReactionBuilder with Mobx, which will check a connection with my server periodicly and do new request to connect it if there is not a connection. How can I do it correctly?