I am working through Android programming tutorials and am trying to learn "Up" navigation. I got it to work by adding setDisplayHomeAsUpEnabled, but when I remove this statement, clean the project and re-deploy, up navigation still works. Why does this happen? I should just see a static, go-nowhere child activity screen, shouldn't I?
Asked
Active
Viewed 113 times
1 Answers
1
Activities are automatically pushed onto a stack, the up/back button naturally pops the stack. Life cycle of Android Activity after pressing Back button