How to disable keycode button using public int instead of public boolean? I already search in this site such as "Disable back button in android" but all of them using public boolean or public void.
Asked
Active
Viewed 113 times
1
Community
- 1
- 1
squall leonhart
- 301
- 1
- 5
- 16
-
But why public int? You didn't mention reason behind implementation. The methods which you are telling about boolean and void are abstract methods declared in Activity class. – Chintan Rathod Jan 15 '15 at 05:36