addHeader

fun addHeader(title: String)(source)

Adds a header view to the list with the given string as its text content.

This method inflates a default text view layout (R.layout.picker_app_text), sets its text to the provided title, and then adds it as a header.

Parameters

title

The string to display in the header view.

See also

SeslAppPickerView.generateTextViewHolder

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

Adds a header view to the top of the list.

Parameters

view

The View to add as a header.

roundedCorner

An integer constant defining the rounded corner style for the header. Defaults to ROUNDED_CORNER_NONE.