Added in API level 1

HideReturnsTransformationMethod


open class HideReturnsTransformationMethod : ReplacementTransformationMethod
kotlin.Any
   ↳ android.text.method.ReplacementTransformationMethod
   ↳ android.text.method.HideReturnsTransformationMethod

This transformation method causes any carriage return characters (\r) to be hidden by displaying them as zero-width non-breaking space characters (\uFEFF).

Summary

Public constructors

Public methods
open static HideReturnsTransformationMethod!

Protected methods
open CharArray!

The character to be replaced is \r.

open CharArray!

The character that \r is replaced with is \uFEFF.

Inherited functions

Public constructors

HideReturnsTransformationMethod

HideReturnsTransformationMethod()

Public methods

getInstance

Added in API level 1
open static fun getInstance(): HideReturnsTransformationMethod!

Protected methods

getOriginal

Added in API level 1
protected open fun getOriginal(): CharArray!

The character to be replaced is \r.

getReplacement

Added in API level 1
protected open fun getReplacement(): CharArray!

The character that \r is replaced with is \uFEFF.