My app creates the tableView and binds a database to it. When I press on a row it opens a details page. However, when you homescreen the app... and then come back if you click on any row the details page that shows doesn't have any data in it anymore. I have to reload the app with a fresh database to get it fixed.
So I figured the way around this would be to dynamically load a TableView with an Array.... which worked fine and dandy... it even fixed the issue of the details page messing up however, I can't for the life of me figure out how to get the tableView to refresh the way I want it to.
Options I've tried.... using onPageShown(caller) to reload the array from the database and insert records. All that does is add the new records plus the old records to the bottom of the current tableView.
I've also tried reinitializing the tableView variable which essentially just slaps one tableView on top of the old one and I've tried various ways of getting the old one to hide so the new one can sit on top of it, but I'm about to give up. Please please help!