Language

AccessibilityNodeInfo.CollectionItemInfo.SortDirection Property

Definition

Gets the sort direction applied to the data associated with this node.

public int SortDirection { [Android.Runtime.Register("getSortDirection", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getSortDirection", "()I", "", ApiSince=36)>]
member this.SortDirection : int

Property Value

The current sort direction, one of: <ul> <li>#SORT_DIRECTION_NONE<li>#SORT_DIRECTION_ASCENDING<li>#SORT_DIRECTION_DESCENDING<li>#SORT_DIRECTION_OTHER</ul>

Attributes

Remarks

Gets the sort direction applied to the data associated with this node.

This item can only be set on a heading node within a table collection. Given the heading node's collection item, a subsequent collection item uses this sort direction if it has the same row or column index, and a greater index in the other dimension. For example, an item at row 2, column 2 can reference a heading at row 2, column 1 for its sort direction.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo.getSortDirection().

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