Kenneth Leong
06/18/2024, 12:14 PMHiltNavGraphViewModel
initialization of a viewmodel when triggering a dark/light theme change or app locale change? The recreation of the activity and fragment seems to cause a crash when using lifecycle 2.8.2 with HiltNavGraphViewModel
. It states that my current destination is null when calling getBackStackEntry
under the hood.Rafael Moreira
06/19/2024, 12:00 AMKenneth Leong
06/19/2024, 11:57 AM