Skip to content

Titanium.UI.ListViewScrollPosition

A set of constants for the position value that can be used for the position property of <ListViewAnimationProperties> when invoking the ListView's scrollToItem, appendSection, deleteSectionAt, insertSectionAt and replaceSectionAt methods.

Extends: Titanium.Proxy · Since: 11.1.0 · Platforms: android, iphone, ipad, macos

Properties #

apiName#

extended

Type: String

The name of the API that this proxy corresponds to.

The value of this property is the fully qualified name of the API. For example, Button
returns Ti.UI.Button.

BOTTOM#

Type: Number

The list view scrolls the row of interest to the bottom of the visible list view.

lifecycleContainer#

extended

Type: Titanium.UI.Window, Titanium.UI.TabGroup

The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.

If this property is set to a Window or TabGroup, then the corresponding Activity lifecycle event callbacks
will also be called on the proxy. Proxies that require the activity lifecycle will need this property set
to the appropriate containing Window or TabGroup.

MIDDLE#

Type: Number

The list view scrolls the row of interest to the middle of the list table view.

NONE#

Type: Number

The table view scrolls the row of interest to be fully visible with a minimal movement.
If the row is already fully visible, no scrolling occurs. For example, if the row is above the
visible area, the behavior is identical to that specified by TOP. This is the default.

TOP#

Type: Number

The list view scrolls the row of interest to the top of the visible list view.

Titanium SDK Documentation