getHeaderCount

open fun getHeaderCount(): Int

Gets the number of headers in this NavigationView.

Return

A positive integer representing the number of headers.