addHeader

fun addHeader(view: View, roundedCorners: Int = ROUNDED_CORNER_NONE)(source)

Adds a header view to the adapter.

Parameters

view

The view to add as a header.

roundedCorners

The rounded corners to apply to the header view. Default is 0.