Can Anyone Please explain the problem of RecyclerView with DataBinding?


#1

I was reading about the problem explaind in page 394 of the book about the layout file not knowing that i updated SoundViewModel’s Sound inside SoundHolder.bind(Sound"), i cannot understand what is the problem its talking about, every time i bind a new Sound object with a Viewholder but the Sound object’s position in the List from which i am taking is not changing then why we are getting repeated tiles with other sound names?

this might be bit naive question on my part but just cannot understand it, can anyone please explain?


#2

It is answered in a future post, check the link: