Added in API level 1

PasswordTransformationMethod


open class PasswordTransformationMethod : TransformationMethod, TextWatcher
kotlin.Any
   ↳ android.text.method.PasswordTransformationMethod

Summary

Public constructors

Public methods
open Unit

open Unit
beforeTextChanged(s: CharSequence!, start: Int, count: Int, after: Int)

open static PasswordTransformationMethod!

open CharSequence!
getTransformation(source: CharSequence!, view: View!)

open Unit
onFocusChanged(view: View!, sourceText: CharSequence!, focused: Boolean, direction: Int, previouslyFocusedRect: Rect!)

open Unit
onTextChanged(s: CharSequence!, start: Int, before: Int, count: Int)

Public constructors

PasswordTransformationMethod

PasswordTransformationMethod()

Public methods

afterTextChanged

Added in API level 1
open fun afterTextChanged(s: Editable!): Unit

beforeTextChanged

Added in API level 1
open fun beforeTextChanged(
    s: CharSequence!,
    start: Int,
    count: Int,
    after: Int
): Unit

getInstance

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

getTransformation

Added in API level 1
open fun getTransformation(
    source: CharSequence!,
    view: View!
): CharSequence!

onFocusChanged

Added in API level 1
open fun onFocusChanged(
    view: View!,
    sourceText: CharSequence!,
    focused: Boolean,
    direction: Int,
    previouslyFocusedRect: Rect!
): Unit

onTextChanged

Added in API level 1
open fun onTextChanged(
    s: CharSequence!,
    start: Int,
    before: Int,
    count: Int
): Unit