public void setDraweeSpanStringBuilder ( DraweeSpanStringBuilder draweeSpanStringBuilder ) { // setText will trigger onTextChanged, which will clean up the old draweeSpanStringBuilder // if necessary setText ( draweeSpanStringBuilder , BufferType . SPANNABLE ) ; mDraweeStringBuilder = draweeSpanStringBuilder ; if ( mDraweeStringBuilder != null && mIsAttached ) { mDraweeStringBuilder . onAttachToView ( this ) ; } }
Bind the given string builder to this view .