getMaxLines

open fun getMaxLines(@NonNull textView: TextView): Int(source)

Deprecated

Call getMaxLines directly.

Returns the maximum number of lines displayed in the given TextView, or -1 if the maximum height was set in pixels instead.