Editable.Factory

public static class Editable.Factory extends Object

Factory used by TextView to create new Editables. You can subclass it to provide something other than SpannableStringBuilder.

Public Constructor Summary

Public Method Summary

static Editable.Factory
getInstance()
Returns the standard Editable Factory.
Editable
newEditable(CharSequence source)
Returns a new SpannedStringBuilder from the specified CharSequence.

Inherited Method Summary

Public Constructors

public Factory ()

Public Methods

public static Editable.Factory getInstance ()

Returns the standard Editable Factory.

public Editable newEditable (CharSequence source)

Returns a new SpannedStringBuilder from the specified CharSequence. You can override this to provide a different kind of Spanned.

Parameters
source