Code example for SpannableStringBuilder

Methods: append, clear

0
				assert mLineInputEnabled; 
				 
				if (dstart > mLineInputStart) 
					return null; 
 
				mSsb.clear(); 
				mSsb.append(dest, dstart, mLineInputStart); 
				mSsb.append(source, start, end); 
				 
				return mSsb; 
			} 
		}, mNewLineFilter }; 
		 
		private Scroller mScroller;
		private _MovementMethod mMovementMethod;
		private boolean mPaging;
		 
		public _View(Context context) {
			super(context, null, R.attr.textBufferWindowStyle);
			setPaintFlags(Paint.SUBPIXEL_TEXT_FLAG | Paint.ANTI_ALIAS_FLAG | Paint.DEV_KERN_TEXT_FLAG);