I want to perform some actions (reset search) when a textview's (x) is pressed.
Something like this: iPhone perform action when UITextField / UISearchBar's clear button is pressed but I don't know how to do it with Xamarin
I have this:
tbkSearchOrder.ShouldReturn += (textField) => {
ComboViewCtl.OnOrdersFiltered (this, tbkSearchOrder.Text);
return true;
};
which responds on the "Search" button pressed on the keyboard. UITextField has several methods named similar to that but they are methods, not events or actions or delegates. Ideally I'd avoid writing a big Delegate class for that text field.