Which fragment callback inflates and returns the fragment's layout?

  1. onCreateView()
  2. onDetach()
  3. onCreate()
  4. onAttach()
Answer

A) onCreateView()

onCreateView() returns the root view of the fragment.

Computer Science MCQ · More Windows Mobile, Eclipse and Fragments MCQs · Practise