How to get keypress event in listview searchbox


in a mobile application, I have a ListView with searchbox, I would like it when the user types a barcode and presses Enter in the searchbox, the system does a specific search.
I don’t know how to capture the keypress in the searchbox, can anyone help me please?

In the search box the user can search for the description that already works, and can capture through a bar code scanner, so it is necessary to search by code only after the Enter is pressed.

Comments are closed.