The Fragment Result API uses which pair of methods?
- setFragmentResult() and setFragmentResultListener()
- putExtra() and getStringExtra()
- commit() and rollback()
- onSaveInstanceState() and onRestoreInstanceState()
Answer
A) setFragmentResult() and setFragmentResultListener()
Fragments can pass results through the FragmentManager with these methods.
Computer Science MCQ · More Windows Mobile, Eclipse and Fragments MCQs · Practise