Q13.webp
N

Q13.webp

  • Media owner Nobara81
  • Ngày thêm
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

Thông tin

Category
PRM392
Thêm bởi
Nobara81
Ngày thêm
Lượt xem
5,655
Lượt bình luận
22
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom