At the moment, if you leave the search page / info page, the preview viewmodel contains no data.
We should preserve the viewmodel and only destroy it when we are creating a new viewmodel (of the same type) which contains different data.
This would allow users to migrate from the search page to the info page without needing to re-type their query.
We could look into using singletons for our viewmodels.
This would also fix the issue where multiple viewmodels are created on navigation (resulting in duplicate requests & thus longer loading times).
At the moment, if you leave the search page / info page, the preview viewmodel contains no data. We should preserve the viewmodel and only destroy it when we are creating a new viewmodel (of the same type) which contains different data. This would allow users to migrate from the search page to the info page without needing to re-type their query. We could look into using singletons for our viewmodels.
This would also fix the issue where multiple viewmodels are created on navigation (resulting in duplicate requests & thus longer loading times).