Kizspy | Question: 13
(Choose 1 answer)
How do you send data from an activity to a fragment?
A. Set a Bundle use the Fragment.setArguments (Bundle) method to supply the construction arguments for the
fragment
B. Define an interface in the Fragment class, and implement the interface in the activity
C. Set a Bundle use the Fragment.setArguments (Bundle) method to supply the construction arguments for
the fragment and
Use the Fragment method getArgument() to get the arguments
D. Call addToBackStack() during a transaction that remove the fragment