HeaderViewPager with a header can be fixed and many scrollable Fragments (listFragments, gridFragments and ScrollFragments) inside.
0.1、Simply immobilizing tabs and keeping locaiton
0.2、Support large Header taller than screen
0.3、Suppert Mixed ListView items and their heights need not be the same
0.4、Combined with pull to refresh
0.5、Magic header can be drag down as you like. The header and inner ListView(ScrollView) can respond touch respctively
0.6、Inner Scroller(ListView、GridView、ScrollView) can be scrolled even if content is null, and the empty content can be customized to improve user experience
0.7、Dispatch touch event as expected
0.8、Example of height auto completion: empty content colored green, and auto completion colored blue
Add the following lines to your build.gradle for pure MagicHeaderViewPager.
For using integrated Pull-To-Refresh:
For more details, see Guide or Demo.
Licensed under the Apache License, Version 2.0