Which method makes the Back button undo a fragment transaction?
- hide()
- commitNow()
- setReorderingAllowed()
- addToBackStack()
Answer
D) addToBackStack()
addToBackStack saves the transaction on the back stack.
Computer Science MCQ · More Windows Mobile, Eclipse and Fragments MCQs · Practise