The recommended way to pass initial data to a new fragment is:

  1. A global variable
  2. A constructor with parameters
  3. A static field in the activity
  4. Setting its arguments Bundle
Answer

D) Setting its arguments Bundle

Arguments survive fragment recreation; custom constructors do not.

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