Domanda di colloquio di TPL Maps

How does the activity lifecycle differ from the fragment lifecycle?

Risposta di colloquio

Anonimo

20 mag 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.