语言

View.DispatchUnhandledMove(View, FocusSearchDirection) 方法

定义

此方法是焦点视图及其上级响应箭头键的最后机会。

[Android.Runtime.Register("dispatchUnhandledMove", "(Landroid/view/View;I)Z", "GetDispatchUnhandledMove_Landroid_view_View_IHandler")]
public virtual bool DispatchUnhandledMove(Android.Views.View? focused, Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("dispatchUnhandledMove", "(Landroid/view/View;I)Z", "GetDispatchUnhandledMove_Landroid_view_View_IHandler")>]
abstract member DispatchUnhandledMove : Android.Views.View * Android.Views.FocusSearchDirection -> bool
override this.DispatchUnhandledMove : Android.Views.View * Android.Views.FocusSearchDirection -> bool

参数

focused
View

当前聚焦的视图。

direction
FocusSearchDirection

方向焦点想要移动。 FOCUS_UP、FOCUS_DOWN、FOCUS_LEFT和FOCUS_RIGHT之一。

返回

如此 如果此视图使用了此未经处理的移动。

属性

注解

此方法是焦点视图及其上级响应箭头键的最后机会。 当焦点视图未在内部使用键时,也不会在请求的方向中查找新视图来赋予焦点时,调用此方法。

Java文档android.view.View.dispatchUnhandledMove(android.view.View, int)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于