Most visited

Recently visited

Added in API level 1

ViewTreeObserver.OnTouchModeChangeListener

public static interface ViewTreeObserver.OnTouchModeChangeListener

android.view.ViewTreeObserver.OnTouchModeChangeListener
Known Indirect Subclasses


在触摸模式更改时调用回调的接口定义。

Summary

Public methods

abstract void onTouchModeChanged(boolean isInTouchMode)

在触摸模式更改时要调用的回调方法。

Public methods

onTouchModeChanged

Added in API level 1
void onTouchModeChanged (boolean isInTouchMode)

在触摸模式更改时要调用的回调方法。

Parameters
isInTouchMode boolean: True if the view hierarchy is now in touch mode, false otherwise.

Hooray!