get intent not working in fragment

Solutions on MaxInterview for get intent not working in fragment by the best coders in the world

showing results for - "get intent not working in fragment"
Barack
26 Apr 2018
1// add the getActivity() before getIntent and it should work perfectly 
2// inside your fragment
3Bundle bundle = getActivity().getIntent().getExtras();