Question d’entretien chez HCLTech

how ViewModel working internally while reconnecting to any component

Réponse à la question d'entretien

Utilisateur anonyme

9 mai 2025

The ViewModelStore is owned by the component with a longer lifecycle (typically Activity or Fragment) During configuration changes, the system retains this store rather than destroying it