emilsjolander/StickyListHeaders — pull request #343 by sddamico (2014-10-24 16:49:39+00:00)
Title: Header Views Incorrectly Hide on Lists with Multiple Headers

Resolve issue where lists with multiple header views would incorrectly hide the first sticky header when scrolling back up to the top of the list.

The issue appeared to be that the code was looking to detect if the list header view was below the sticky header, but the check was looking for just the first child in the list which could be one of many headers (since listview removes them from the layout).

This fix makes the check to see if simply there is a header view to account for, and, if it's still behind the sticky header, maintain the headerPosition logic.