Added in API level 1

OnTouchModeChangeListener


interface OnTouchModeChangeListener
AbsListView

Base class that can be used to implement virtualized lists of items.

TabHost

Container for a tabbed window view.

ExpandableListView

A view that shows items in a vertically scrolling two-level list.

GridView

A view that shows items in two-dimensional scrolling grid.

ListView

Displays a vertically-scrollable collection of views, where each view is positioned immediatelybelow the previous view in the list.

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

Summary

Public methods
abstract Unit
onTouchModeChanged(isInTouchMode: Boolean)

Callback method to be invoked when the touch mode changes.

Public methods

onTouchModeChanged

Added in API level 1
abstract fun onTouchModeChanged(isInTouchMode: Boolean): Unit

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.