Detect visibility of the fragment inside a navigation drawer <p>I have a fragment in the SDK that the wrapper application may display in the navigation drawer. I want to detect when this fragment will be visible to the user, for tracking purposes, from the Fragment itself. Is there any way to do it ?</p>