Code example for ListFragment

Methods: onCreate, setRetainInstance