I have a projectID string AppState variable that is being updated when I click on one of the projects from the list. I have a listView that's API based that gets tasks linked to projectID. I want the list (naturally) to reflect the selected project. I can have a simple text widget updated instantly with the value of projectID. I used a couple of combinations of local and page variables and actions that try to do the same thing - rebuild a widget with a new parameter, but they don't work. Of course, the simplest approach would be to just use AppState variable directly, but it doesn't work.
Going to the different page and then back works, but I would like to prevent rebuilding the whole page. How can I do that?