Language

ReplacementTransformationMethod.GetTransformationFormatted 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.

[Android.Runtime.Register("getTransformation", "(Ljava/lang/CharSequence;Landroid/view/View;)Ljava/lang/CharSequence;", "GetGetTransformation_Ljava_lang_CharSequence_Landroid_view_View_Handler")]
public virtual Java.Lang.ICharSequence? GetTransformationFormatted(Java.Lang.ICharSequence? source, Android.Views.View? v);
[<Android.Runtime.Register("getTransformation", "(Ljava/lang/CharSequence;Landroid/view/View;)Ljava/lang/CharSequence;", "GetGetTransformation_Ljava_lang_CharSequence_Landroid_view_View_Handler")>]
abstract member GetTransformationFormatted : Java.Lang.ICharSequence * Android.Views.View -> Java.Lang.ICharSequence
override this.GetTransformationFormatted : Java.Lang.ICharSequence * Android.Views.View -> Java.Lang.ICharSequence

Parameters

source
ICharSequence

The text whose display characters are replaced.

v
View

The view displaying the text; unused by this implementation.

Returns

The source sequence or a sequence that applies the original and replacement character arrays.

Implements

Attributes

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