We have a standard SearchView - SearchViewModel binding that works in our Android and Windows Store apps.
There are various places in the app that call ShowViewModel to show the SearchViewModel. In this call we pass the Search Text.
We are now looking to reuse that same ViewModel in Xamarin.iOS.
The UISearchBar examples show the Search Bar filtering data in the current ViewModel.
I want to use it as a way of triggering a ShowViewModel, with the Search text being passed across to the SearchViewModel. That would then take the user from the current View to the Search View.
How do I trap the initiation of the Search so that I can pass the Search Text across to our SearchViewModel using ShowViewModel?