get intent value in fragment in android code example
Example: get intent not working in fragment
// add the getActivity() before getIntent and it should work perfectly
// inside your fragment
Bundle bundle = getActivity().getIntent().getExtras();
// add the getActivity() before getIntent and it should work perfectly
// inside your fragment
Bundle bundle = getActivity().getIntent().getExtras();