Set the ListAdapter to null in Fragment's onDestroyView method. This fixes a crashing bug. The adapter was never destroyed when navigating away and if the ListView had header Views, then it crashed because you can't add header views after the adapter is set.