How to clear the measure cache android
<p>I have an app that lays out controls on the screen at runtime, it passes through each control calling <code>measure</code> on a View with a provided width and <code>WRAP_CONTENT</code> as height. </p>

<p>It does this before any data is set on the view to show a stencil version of the view and then after actual data is set on the view.</p>

<p>The issue is that since it calls measure twice with same input, the second time we hit the measure cache and it doesn't re-measure even though the actual measurements of the view have changed since data on the controls have changed.</p>

<p>Is there any way to force it to re-measure on the second call?</p>