Android分页UI库:Android-ParallaxHeaderViewPager
jopen
10年前
这是一个Android分页UI库。(就像在Play NewsStand应用中的pager UI)
为使用这个项目你需要添加:
- NineOldAndroids (https://github.com/JakeWharton/NineOldAndroids)
- Appcompat (http://developer.android.com/tools/support-library/features.html#v7-appcompat)
此外还用到下两个很好的库.
- NotBoringActionBar (https://github.com/flavienlaurent/NotBoringActionBar)
- PagerSlidingTabStrip (https://github.com/astuetz/PagerSlidingTabStrip)
1. Change ListView in NotBoringActionBar to ViewPager.
2. Make ListView or ScrollView of Fragment in ViewPager.
3. Make Interface that Activity can get a Listener when you use OnScroll() in ListView or ScrollView.
4. Make Interface which is available to scroll when some events is happened in ListView or ScrollView.