PasswordTransformationMethod

Class of android.text.method · PasswordTransformationMethod.java · Android's reference

public class PasswordTransformationMethod implements TransformationMethod, TextWatcher

Shows each char of a password as a dot. The last typed char is not shown, as with Android's "show passwords" off.

Constructors

public PasswordTransformationMethod() empty body source

Methods

public static PasswordTransformationMethod getInstance() source
public CharSequence getTransformation(CharSequence source, View view) source
public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) empty body source
public void beforeTextChanged(CharSequence s, int start, int count, int after) empty body source
public void onTextChanged(CharSequence s, int start, int before, int count) empty body source
public void afterTextChanged(Editable s) empty body source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.