O'Reilly logo
  • Hoang Dung Nguyen thinks this is interesting:

However, it costs you the encapsulation of your fragment. CrimeFragment is no longer a reusable building block because it expects that it will always be hosted by an activity whose Intent defines an extra named EXTRA_CRIME_ID.


Cover of Android Programming: The Big Nerd Ranch Guide


The downside to direct retrieval