I need advice on this. I have a TO-DO app. At first you have 0 items, you can add items that I save to a database with “http.post”, and I can view that list (I use a provider “ChangeNotifierProvider”).
The problem comes when you open the app and you have already items.
I gather all the data with “http.get” (wich is Future), I use a FutureProvider, no problem, I can see all the items. But when I add another item and go back to that list, my new item is not there…
What aproach is better to solve this? I am doing well using FutureProvider?
I read everything about providers but I can’t find the solution.
Thanks in advance!