NullPointerException in ViewModel with "manually dependency injection"
I'm stuck with an error that I don't understand :
NullPointerException Attempt to invoke virtual method 'com.HitatHomeTimer.repository.localdata.entities.Session com.HitatHomeTimer.repository.localdata.relations.SessionWithStepsAndExercises.getSession()' on a null object reference
I'm trying to observe a LiveData in my fragment from my viewmodel like we doing in MVVM pattern.
I'm navigating to my home page to this fragment (practiceFragment) using NavigationView by NavHostFragment
Can anyone...