I\'m new to Android development and i am trying to understand Live Data with MVVM architecture. I am trying to make the main activity recognize when there is a change in an obje
In your repository, try changing this part:
loggedInUser.setValue(response.body());
to postValue function. like that:
loggedInUser.postValue(response.body());