I have a searchview list (SearchView Class) that displays records from a field in a SQLite table. Its index is created in Activity_Create with FirstTime=True. The displayed data occupies one page of an AHviewPager. In the adjacent AHViewPager page I import a text file to replace the entire content of the table. When I go back to the first page and do another search, the original content of the table before the replacement is what displays rather than the new data I just imported. Even after closing cursor and database object and Activity.Finish the program and reentering, it is still displaying the old data in the searchview result.
The only way I got rid of the old data in the search list was to either force close the app or to use ExitApplication to kill the app and start over. This does not seem like a healthy way of doing it. How can I get rid of the old data and have the searchview use the newly imported data in the table search result?
Thank you for any constructive tips.