@OverridepublicvoidonBackPressed(){/*Dependeing on what you are doing you maybe need this*//*super.onBackPressed();*/if(/*something*/){//this will happen}else{//normal backbutton functionalityfinish();}}
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.