We are trying to understand how viewmodels and recyclerviews can work together. In our case we have a custom view, used in an activity, with its own viewmodel. Now this custom view need to be part of the layout of items in a recyclerview. That means each ViewHolder will have a ViewModel attached to it. We think it’s not a good solution but we’re wondering what would it be a way to structure this type of situation. ViewModel attached to the adapter (we think it’s bad)? use DataBinding to connect VH and VM? we don’t have databinding set up in the project though. What do you guys think?