I have multiple ViewHolders that work as separated views inside a vertical RecyclerView. I\'m practicing with the new Architecture Components ViewModel.
Inside my ViewMo
My solution to this issue is;
ViewModelProviders
here you mut be careful not to create adapter instance in observe method. if you create it in observe method, it will make leaks