Language

ReplacementTransformationMethod.GetTransformation(String, View) Method

Definition

Returns a CharSequence that will mirror the contents of the source CharSequence but with the characters in #getOriginal replaced by ones from #getReplacement.

public string? GetTransformation(string? source, Android.Views.View? v);
member this.GetTransformation : string * Android.Views.View -> string

Parameters

source
String

The text whose display characters are replaced.

v
View

The view displaying the text; unused by this implementation.

Returns

A string snapshot of the text with the character replacements applied.

Remarks

Returns a CharSequence that will mirror the contents of the source CharSequence but with the characters in #getOriginal replaced by ones from #getReplacement.

Java documentation for android.text.method.ReplacementTransformationMethod.getTransformation(java.lang.CharSequence, android.view.View).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to