Most visited

Recently visited

Added in API level 1

ViewTreeObserver.OnTouchModeChangeListener

public static interface ViewTreeObserver.OnTouchModeChangeListener

android.view.ViewTreeObserver.OnTouchModeChangeListener
Known Indirect Subclasses


Interface definition for a callback to be invoked when the touch mode changes.

Summary

Public methods

abstract void onTouchModeChanged(boolean isInTouchMode)

Callback method to be invoked when the touch mode changes.

Public methods

onTouchModeChanged

Added in API level 1
void onTouchModeChanged (boolean isInTouchMode)

Callback method to be invoked when the touch mode changes.

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

Hooray!