onBackPressed method showing for less than a second
Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I am using the above method to create something like an exit dialog for my application. The code works just fine but the alert dialog box only stays on screen for less than a second. Then it dissapears and the application closes without following my instructions. I have no idea why this is happening. Thank you guyz in advance.
| ||||
default
Read more
stackoverflow.comm
No comments:
Post a Comment