Hide/Show keyboard on a Xamarin.Forms project?

348 Views Asked by At

I'm working on a project that involves the 3 platforms (IOS, Android and Windows). In the application I´m implementing a barcode scanner, that is why i want to hide the Keyboard when a Entry field is on focus. Also, the Entry includes a button that show the keyboard only in case that the user want to write by himself

I've tried to use this package but it only works for IOS/Android. That's why I want to know how can i achieve this. It is possible to make it from a global way? or should i implement it for each platform

1

There are 1 best solutions below

0
Ivan Ičin On

There is no such thing as 'global' that would work without someone doing the hard work of implementing that global abstraction for each platform. So basically if you don't have such a solution that works you need to implement it yourself. The package you refer to has already implementation for some platforms so you can then just implement the same abstraction for other platforms you need.