ListGroupItem

interface ListGroupItem

An interface which defines how an item is used by the ListGroupItemsCollection. Requires an ItemType to be defined.

Types

Link copied to clipboard
enum ItemType : Enum<ListGroupItem.ItemType>

Properties

Link copied to clipboard
abstract val type: ListGroupItem.ItemType

Functions

Link copied to clipboard
open fun isGroupMember(): Boolean

A group consists of grid items, separated by header which are stuck to the top during scrolling or list items which are not stuck to the top during scrolling. An item is considered as a group member if it is a ItemType.GRID_ITEM.

Link copied to clipboard
open fun isHeader(): Boolean

Checks if the item is a ItemType.HEADER or not.