Рет қаралды 2,772
The following tutorial explains how to override standard hardware back button behaviour by custom logic in three scenarios:
1. Exit an application on pressing hardware back button
2. Exit an application on pressing hardware back button with confirmation popup
3. Exit an application on pressing hardware back button twice within 2 seconds
--
Post on my blog: better-coding....
Git repository: gitlab.com/bet...
My IT blog: better-coding....
My personal blog: lukaszciesla.com/
My discord: / discord
Gitlab: gitlab.com/bet...