emilsjolander/StickyListHeaders — pull request #358 by messiahluo (2014-12-10 02:49:49+00:00)
Title: Memory leak problem with DataSetObserver

There is a memory leak when listview is not visible but DataSetObserver still in memory.
My app has four tabs , one of them contains a StickyListHeadersListView, I found that everytime I switch to this other tab and switch back, the memory inscreases, so I look into MAT, found the DataSetObserver in StickyListHeadersListView are holding all my list items, so I think we should unregister this when listview are detached from window.