AdapterView.ItemViewTypeHeaderOrFooter Field

Definition

The item view type returned by Adapter#getItemViewType(int) when the item is a header or footer.

[Android.Runtime.Register("ITEM_VIEW_TYPE_HEADER_OR_FOOTER")]
public const int ItemViewTypeHeaderOrFooter = -2;
[<Android.Runtime.Register("ITEM_VIEW_TYPE_HEADER_OR_FOOTER")>]
val mutable ItemViewTypeHeaderOrFooter : int

Field Value

Value = -2
Attributes

Remarks

The item view type returned by Adapter#getItemViewType(int) when the item is a header or footer.

Java documentation for android.widget.AdapterView.ITEM_VIEW_TYPE_HEADER_OR_FOOTER.

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