How do you supply construction arguments into a fragment?



How do you supply construction arguments into a fragment?..

Answer / Sumit Kumar Paswan

You can supply construction arguments to a Fragment using the Bundle class in Android. The bundle is passed to the constructor of the Fragment during instantiation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

what is aapt in android?

1 Answers  


What are two launch modes for activities?

1 Answers  


When does anr occur?

1 Answers  


What is needed to make multiple choice list with custom view for each row?

1 Answers  


Does asynctask create new thread in background?

1 Answers  


What is the importance of xml-based layouts?

1 Answers  


How android is beneficial for app. Developers?

1 Answers  


What is an activity in Android?

1 Answers   TryTechnicals Pvt Ltd,


when to use 9 patch image in android?

1 Answers  


What is mvp android?

1 Answers  


Explain key components of android architecture?

1 Answers  


What’s volley and what’s positive and negative with it?

1 Answers  


Categories