How could I use MAUI to create a keydown event? Also, we know there is no direct view for us to use keydown or keyup, but I have researched handler mappers in nativeview (Android) or using render, but the details of how to implement them are unclear.Or are there other ways to get a keydown event in MAUI? Thanks
I develop a zebra app; there is an entry for scan, so it needs a keydown event (maybe you will say we could use textchanged; actually, I have tried, and it worked, but there are some other problems, not good, such as selecting text, because my entry also has another function, which is to input a number like an id, then key 'enter' to get codbarre; the second function is scanning; so problem here is that I need a condition to control input; its mean id length could not more than 13 (codebarre); another problem of textchange is that when I scan the same codbare again, it will not select all text) so keydown will be a perfect solution, but how to get keydwon event in Maui?
we can call ModifyEntry() everywhere(in constructor) we want;
here : https://learn.microsoft.com/en-us/dotnet/maui/user-interface/handlers/customize