bindHeaderData

abstract fun bindHeaderData(header: View, headerPosition: Int)

This method gets called by HeaderItemDecoration to setup the header View.

Parameters

header

View. Header to set the data on.

headerPosition

int. Position of the header item in the adapter.