Re: [mono-android] Setting SetOnKeyListener on EditText

2011-09-07 Thread Jonathan Pryor
On Sep 7, 2011, at 8:17 AM, Nilesh wrote: > I wanted to set the SetOnKeyListener on EditText field. ... > 2) As the SetOnKeyListener requires View.IOnKeyListener.OnKey, I have created > a another class which implements the OnKey method of the View.IOnKeyListener > interface as below. >public

[mono-android] Setting SetOnKeyListener on EditText

2011-09-07 Thread Nilesh
Hi, I wanted to set the SetOnKeyListener on EditText field. To do this, I got various samples in java. I have followed below steps to achieve this functionality. 1) Retrived the EditText field from layout as below EditText txtSearch = FindViewById(Resource.Id.txtSearch); 2) As the Set