TPL Maps interview question

How does the activity lifecycle differ from the fragment lifecycle?

Interview Answer

Anonymous

20 May 2025

I described the full lifecycle of both components and pointed out key differences such as onAttach() and onCreateView() in fragments, which don't exist in activities.