Interface Editable.Factory

Enclosing interface:
Editable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Editable.Factory
Factory used by TextView to create new Editables. You can subclass it to provide something other than SpannableStringBuilder.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new SpannedStringBuilder from the specified CharSequence.
  • Method Details

    • newEditable

      @Nonnull Editable newEditable(@Nonnull CharSequence source)
      Returns a new SpannedStringBuilder from the specified CharSequence. You can override this to provide a different kind of Spanned.