Android Architecture Components LiveData
问题 I'm trying to implement a simple App using Architecture Components. I can get the info from RestApi services using Retrofit2. I can show the info in the respective Recyclerview and when I rotate the phone everything works as it should. Now I want to filter by a new kind of object (by string) Can someone guide me a little with the ViewModel, I don't know what is the best practice to do that... I'm using MVVM... This is my ViewModel: public class ListItemViewModel extends ViewModel { private