Språk

ScrollState Enum

Definition

Provides the scroll state API.

public enum ScrollState
type ScrollState = 
Inheritance
ScrollState

Fields

Name Value Description
Idle 0

The view is not scrolling. Navigating the list using the trackball also counts as idle because these transitions are not animated.

TouchScroll 1

The user is scrolling using touch, and their finger is still on the screen.

Fling 2

The user had been scrolling using touch and performed a fling. The animation is now coasting to a stop.

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