Since: BlackBerry 10.0.0

#include <bb/cascades/FlickMode>

Represents different types of flick modes for a ListView.

Flicking is a gesture used to scroll a ListView. The gesture involves a touch, drag, and release motion along the layout axis of the list. For the flick behavior to be triggered, there must be sufficient speed in the motion of the gesture, unless FlickMode::None is specified in which case flicking is disabled.


Public Types Index

enum Type

Default = 0x0, None = 0x1, Momentum = 0x2, SingleItem = 0x3

Public Types


Represents the different types of flick modes.


BlackBerry 10.0.0

Default = 0x0

The default flick gesture, which is currently set to Momentum.

None = 0x1

Flick gestures are disabled.


BlackBerry 10.0.0

Momentum = 0x2

A flick gesture along the layout axis generates a momentum scroll effect proportional to the speed of the flick gesture.


BlackBerry 10.0.0

SingleItem = 0x3

A flick gesture along the layout axis scrolls the ListView a single item in the direction of the flick.

When the flick occurs, the leading edge of the next item becomes aligned with the top of the ListView.


SingleItem is only supported for a ListView that uses a StackListLayout.


BlackBerry 10.0.0

Last modified: 2014-06-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus