Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to override the back button of the device and not just disable it.

$
0
0

I have this code to disable the back btn

     public override bool OnKeyDown(Keycode keyCode, KeyEvent e)
        {
            switch (keyCode)
            {
                case Keycode.Back:
                return false;
            }
            return base.OnKeyDown(keyCode, e);
        }       

Is it possible for me to write what i want it to do?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>