the library for adding Sticky Headers to ListView or GridView
implementation 'com.github.DWorkS:AStickyHeader:9a40740d1a'
is the newest version but doesn't seem to work at the moment
Refer to the documentation.