isHeader

abstract fun isHeader(itemPosition: Int): Boolean

This method gets called by HeaderItemDecoration to verify whether the item represents a header.

Return

true, if item at the specified adapter's position represents a header.

Parameters

itemPosition

int.