Code example for ListFragment

Methods: setListShown, isResumed