PRM392_-_SP_2025_-_FE_3553.webp
Natsu_lovely

PRM392_-_SP_2025_-_FE_3553.webp

☑Kizspy.me
☐ A
(Choose 1 answer)
Considering the dynamic way to add Fragments to an Activity, which of the following scenarios correctly
outlines the process and potential pitfalls of dynamically managing Fragments within an Activity's lifecycle?
A. Dynamically added Fragments do not affect the Activity's lifecycle; thus, developers need not consider the
Activity state when adding or removing Fragments.
B. Fragments added dynamically must be managed carefully during the Activity's lifecycle events, such as
configuration changes, to prevent memory leaks or crashes due to lost context.
C. Dynamically adding Fragments to an Activity is discouraged as it complicates the Activity's lifecycle and
makes the app more prone to errors.
D. The FragmentManager handles all complications arising from the Activity's lifecycle changes, so
developers do not need to manually manage Fragments added dynamically..
Back
Next
FUO.sh
sh the exam.

Thông tin

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

Share this media

Back
Bên trên Bottom