title: android Recyclerview Layoutmanager's onLayoutChildren called when item content is changed
body: <p>i have a recycler view with custom layout manager ( its a twowayview staggeredgridview layout manager <a href="https://github.com/lucasr/twoway-view/blob/master/layouts/src/main/java/org/lucasr/twowayview/widget/StaggeredGridLayoutManager.java" rel="nofollow">https://github.com/lucasr/twoway-view/blob/master/layouts/src/main/java/org/lucasr/twowayview/widget/StaggeredGridLayoutManager.java</a> ) </p>
  
  <p>i am using this to display list of Images.
  These images are loaded asynchronously, meaning ,when the items becomes active, i decode image data and then load that bitmap onto these list item views.</p>
  
  <p>now, problem is whenever i set image bitmap onto an item's imageview, it causes onLayoutChildren to be called on the layout manager, which then lays out all the children again.</p>
  
  <p>Is this an expected behavior ? meaning, changing the content of child element ( here, imageview ) causes the parent recyclerview to issues a onLayoutChildren on its layoutmanager ?</p>
  
  <p>if not, then how do i prevent this ?</p>
  
  <p>Thanks,</p>