I don't want to move that in the activity itself because PullToRefreshHelper is sometimes tied to the fragment (mostly for lists fragments). It seems that I could move register/unregister to onViewCreated/onDestroyView in fragments.