getHeaderView

open fun getHeaderView(index: Int): View

Gets the header view at the specified position.

Return

The header view the specified position or null if the position does not exist in this NavigationView.

Parameters

index

The position at which to get the view from.