PRM392_-_SP_2023_-_FE_113.webp
MinhHa93

PRM392_-_SP_2023_-_FE_113.webp

  • Media owner MinhHa93
  • Ngày thêm
Answer (Choose 2 answers)
How do you send data from an activity to a fragment?
A. Set a Bundle and use the Fragment.setArguments (Bundle) method to supply the construction arguments for the fragment.
B. Use the Fragment method getArguments() to get the arguments.
C. Define an interface in the Fragment class, and implement the interface in the activity.
D. Call addToBackStack() during a transaction that removes the fragment.
Ext 35

Thông tin

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

Share this media

Back
Bên trên Bottom