TextInputLayout.LengthCounter

public interface TextInputLayout.LengthCounter


Interface definition for a length counter.

Summary

Public methods

abstract int
countLength(Editable text)

Counts the length of the text and returns it.

Public methods

countLength

abstract int countLength(Editable text)

Counts the length of the text and returns it.

Parameters
Editable text

The text to count the length for.

Returns
int

The count that the counter should be updated with.