In new RecyclerView we can use wrap_content
for height (or for width). So Google fixed bug - https://code.google.com/p/android/issues/detail?id=74772
I had exactly the same error as the one raised in the question and in fact have raised a bug with Google for this. I did find, after delving into the framework code, that I could resolve the issue by changing the setting of HasFixedSize from FALSE to TRUE i.e. "rv.setHasFixedSize(true)". This is basically telling the RecyclerView that changes to its contents will not change the RecyclerView size thus avoiding a full layout. I had originally set this FALSE due to a mis-interpretation of its meaning. This change removes the fault for me and is a reproducible solution.