Sdílet prostřednictvím


PasswordTransformationMethod.OnFocusChanged Method

Definition

Overloads

OnFocusChanged(View, ICharSequence, Boolean, FocusSearchDirection, Rect)

This method is called when the TextView that uses this TransformationMethod gains or loses focus.

OnFocusChanged(View, String, Boolean, FocusSearchDirection, Rect)

OnFocusChanged(View, ICharSequence, Boolean, FocusSearchDirection, Rect)

This method is called when the TextView that uses this TransformationMethod gains or loses focus.

[Android.Runtime.Register("onFocusChanged", "(Landroid/view/View;Ljava/lang/CharSequence;ZILandroid/graphics/Rect;)V", "GetOnFocusChanged_Landroid_view_View_Ljava_lang_CharSequence_ZILandroid_graphics_Rect_Handler")]
public virtual void OnFocusChanged (Android.Views.View? view, Java.Lang.ICharSequence? sourceText, bool focused, Android.Views.FocusSearchDirection direction, Android.Graphics.Rect? previouslyFocusedRect);
[<Android.Runtime.Register("onFocusChanged", "(Landroid/view/View;Ljava/lang/CharSequence;ZILandroid/graphics/Rect;)V", "GetOnFocusChanged_Landroid_view_View_Ljava_lang_CharSequence_ZILandroid_graphics_Rect_Handler")>]
abstract member OnFocusChanged : Android.Views.View * Java.Lang.ICharSequence * bool * Android.Views.FocusSearchDirection * Android.Graphics.Rect -> unit
override this.OnFocusChanged : Android.Views.View * Java.Lang.ICharSequence * bool * Android.Views.FocusSearchDirection * Android.Graphics.Rect -> unit

Parameters

view
View
sourceText
ICharSequence
focused
Boolean
previouslyFocusedRect
Rect

Implements

Attributes

Remarks

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

OnFocusChanged(View, String, Boolean, FocusSearchDirection, Rect)

public void OnFocusChanged (Android.Views.View? view, string? sourceText, bool focused, Android.Views.FocusSearchDirection direction, Android.Graphics.Rect? previouslyFocusedRect);
member this.OnFocusChanged : Android.Views.View * string * bool * Android.Views.FocusSearchDirection * Android.Graphics.Rect -> unit

Parameters

view
View
sourceText
String
focused
Boolean
previouslyFocusedRect
Rect

Remarks

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