How can I close a tab when I am leaving that tab.
How can I start an activity when I am clicking a tab each time.
I have an application with two activities A and B.
I wanted to ask : I have a first activity that opens the second activity in the Activity menu. I press exit in Activity 2 and would like you to also close the Activity 1. How to do this?