I would like to get some help on this issue that I am stuck for a few days!
I have an application with two actions. There are two swipe tabs in launch activity, and one of them uses a simple CursorAdapter controller and a cursor loader to populate views from the database.
The code works fine when I use one action and without tabs. I mean, I get data updates as the database changes, but in this new project, I get only updated data only after restarting the application.
Here is the script after starting the application. I launch the bootloader and populate the listview on the tab, then I can launch the second action by clicking on one of the elements in the list, the main action that I can close by clicking on the button.
after closing the second action, I return to the main action and insert the row into my database (and up to this point everything works fine, I see this in the debugger)
But the problem is that I wonβt get the newly entered item on my screen unless I restart the application.
Even I sublimate several times between my tabs, nothing happens.
I tried reloading my loader in my fragment callbacks, but still no change.
what happens in my design?
Thanks guys,