I have a searching functionality for my list view and on clicking on list view it goes to another screen,but if i activate my search field (keypad active) and touched on list view item it is going to another screen without deactivating the keyboard.
so how can i deactivate the keypad of textfield manually on clicking item of list view?
Thanks
@owen Please take a look.
You could get the inner text input control of UI::TextField and then call the following method:
/**
* Open up the IME.
*/
void openIME();
/**
* Close the IME.
*/
void closeIME();
Hai owen, thanks for reply.But i am not clear of “get the inner text input control of UI::TextField” can you clear me about this?
And i also didn’t find those methods in UI::TextField.
Thanks
please refer to getVirtualRenderer method and cast it to UICCTextField class.
1 Like
Thanks my Friend! its working,thank you.