Create setUserVisibleHint.java

This method is runs automatically each time a fragment is shown.