+ 11
Android performClick();
With this little piece of code: view.performClick(); you can simulate a click on e.g. a button Can anyone tell me how to do the same with the back button next to the home button?
2 Answers
+ 1
There are overriden methods for an app in general, the one you're looking for is:
onBackPressed()
Alt + Insert -> Overriden Methods -> onBackPressed()
Greetings :D
+ 11
Thank you, exactly what I was looking for!