Appreciate if some one can help.
I have a list view (“A”) with about 6 items. When I click on any of the items, it opens up another activity (“B”) and displays the item details. I need to somehow allow user to go back to “A” from “B”
Whats the easiest way to implement this? is there a control that automatically does this for me. I know in IOS development, a navigation controller hooks all of this up without the programmer needing to write the back button code.
I am pretty new to android development
The hardware back button on android phones will do this for you automatically. Another way to handle going back is to use the up affordance (left carat) in the
ActionBar. You can enable this withActionBar#setDisplayHomeAsUpEnabled.(source: wptrafficanalyzer.in)