xamarin.forms - Which event is fired when back button is pressed while keyboard is open in android in Xamarin Forms? -


onbackbuttonpressed() not hitting when pressing button while keyboard open.

need unfocus entry when keyboard hides using button.

any appreciated.

thanks

the onbackbuttonpressed called when physical hardware button pressed. since ios has no such thing never called on ios. each page have onappearing , ondisappearing events can override on both platforms allow work when view going off-screen.

protected override void onappearing() {     base.onappearing();     // work here }  protected override void ondisappearing() {     base.ondisappearing();     // work here } 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -