@Override
  protected void onAttachedToWindow() {
    super.onAttachedToWindow();
    mIsAttached = true;
    if (mDraweeStringBuilder != null) {
      mDraweeStringBuilder.onAttachToView(this);
    }
  }
DraweeSpan text view that can be used to bind to a {@link DraweeSpanStringBuilder} to display
images within text strings.

<p>You should always use {@link #setDraweeSpanStringBuilder(DraweeSpanStringBuilder)} instead of
calling {@link #setText(CharSequence)} and its variations.

<p>If you use the normal text view setters, this view will behave exactly like BetterTextView. If
you previously set a {@link DraweeSpanStringBuilder} but want to re-use it as a normal text view,
you should call {@link #detachCurrentDraweeSpanStringBuilder()} first.
drawee-span/src/main/java/com/facebook/drawee/span/SimpleDraweeSpanTextView.java