change mListView = (ListView)getActivity().findViewById(R.id.listview_forecast); ->mListView = (ListView)rootView.findViewById(R.id.listview_forecast);