Answers for "getintent in fragment android"

1

get intent not working in fragment

// add the getActivity() before getIntent and it should work perfectly 
// inside your fragment
Bundle bundle = getActivity().getIntent().getExtras();
Posted by: Guest on August-25-2020

Code answers related to "getintent in fragment android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language