How do you get an intent data inside a fragment basically?

Question:How do you get an intent data inside a fragment basically?

1.Bundle args = getExtras().getActivity();

2.Bundle args = new Bundle(getActivity().getIntent().getExtras());

3.Bundle args = getActivity().getIntent().getExtras();

4.Bundle args = getIntent().getActivity.getExtras();


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!