79652790

Date: 2025-06-04 12:48:24
Score: 2
Natty:
Report link

Turns out I was navigating to another page immediately and popping this fragment from back stack. But the fragment wasn't immediately getting destroyed. Hence the exception was thrown if I accessed the viewmodel in that state. So to resolve it I simply did not use the viewmodel if I am to navigate to another place.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: rdias002