InputFilter.LengthFilter

public static class InputFilter.LengthFilter extends Object
implements InputFilter

This filter will constrain edits not to make the length of the text greater than the specified length.

Public Constructor Summary

Public Method Summary

CharSequence
filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend)
This method is called when the buffer is going to replace the range dstart … dend of dest with the new text from the range start … end of source.

Inherited Method Summary