Code example for ListFragment

Methods: getActivity, getResources, onCreate