For my app if I use finish()
then it will close activity A. For the activity stack like A->B->C(currently visible) if I use finish()
in C it will close C, not A or B and B resumes.
In such cases if I need to close all the activities at a glance by clicking a Close button in activity C then what is the solution ? Does Android provide any technique to achieve this ?
NOTE: I found a solution Here which is partially helpful, not enough to solve my problem. Though you may get some idea(s) from here.