An expandable Android TextView written in Kotlin
expandable-textview / tm.charlie.expandabletextview / ExpandableTextView / State
enum class State
Enum representing current state of the ExpandableTextView.
Collapsed | State, in which text is ellipsized and it is possible to expand it, if expandedLines is greater than collapsedLines. |
Collapsing | State, in which ExpandableTextView is in the progress of collapsing. |
Expanding | State, in which ExpandableTextView is in the progress of expanding. |
Expanded | State, in which text is expanded, with maximum number of displayed text lines equal to expandedLines. |
Static | State, in which either text can fit in specified number of collapsedLines without ellipsizing or collapsedLines equals expandedLines. ExpandableTextView will not expand or collapse in this state. |