code: @Override
  	protected void onTextChanged(final CharSequence text, final int start, final int before, final int after) {
  		mNeedsResize = true;
  		// Since this view may be reused, it is good to reset the text size
  		resetTextSize();
  	}
docs: When text changes, set the force resize flag to true and reset the text size.