PRM392_-_FA_2024_-_FE_3026.webp
Kaigaku86

PRM392_-_FA_2024_-_FE_3026.webp

Kizspy | Question: 36
(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.

Thông tin

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

Share this media

Back
Bên trên Bottom