Skip to content

Instantly share code, notes, and snippets.

@Frikish
Frikish / SwipeRefreshLayout and StickyListHeaders.md
Last active Feb 23, 2017
SwipeRefreshLayout with StickyListHeaders
View SwipeRefreshLayout and StickyListHeaders.md

Trying to find a solution

StickyListHeaders

SwipeRefreshLayout

I had a problem getting the new fancy SwipeRefreshLayout from the appcompat lib to work with a custom listview, in this case the StickyListHeaders. Since the First child of the SwipeRefreshLayout should be either a ScrollView or a pure List, some workaround had to be done.