I have stored some data to a Global Class By using the ... You can get the context using getActivity().
stackoverflow.com