a>&nbsp;setShouldCacheLayout(boolean&nbsp;shouldCacheLayout)</pre>
<div class="block">Sets whether the text layout should be cached or not.
 <p>
 Note: If the Layout contains <a href="https://developer.android.com/reference/android/text/style/ClickableSpan.html?is-external=true" title="class or interface in android.text.style"><code>ClickableSpan</code></a>s, the layout will not be cached.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>shouldCacheLayout</code> - True to cache the 