How do I configure the back button action on android?

3

How do certain activities in the app perform when the back button is heard?

    
asked by anonymous 11.04.2015 / 21:12

1 answer

10

Hello, my friend!

@Override
public void onBackPressed() 
{
    //Seu código aqui dentro
}
    
12.04.2015 / 05:33