Understanding the fragment life cycle