Hello, in the text on the section on RecyclerViews - Cleaning Up Binding List Items it states - there was some refactoring with moving code out of the onBindViewHolder(…) method to the ViewHolder class itself … the text states:
“The adapter should know as little as possible about the inner workings and details of the view holder”
My question is why the refactor - ie - what is the benefit of having the adapter know as little as possible about the details of view holder … ie - why should the adapter know as little as possible.
Thanks.