Very simple for experts but i dont know how to search it. So my question is
Which method will create when back arrow is pressed(not menu/soft back button) go to home/parent activity??
i am talking about green circle button not red circle button
Is it onStop()
,onPause()
or onRestart()
??
I am confused with all, though i have read the method but i cannot link it with my project.
Basically user on A activity perform some task and when user go back to parent activity then again perform some other task and when again come to A activity then some task also have to perform?
So which method suits?