共同头部+ViewPager+ListView http://blog.csdn.net/w7822938/article/details/47173047
共同头部+ViewPager+ListView http://blog.csdn.net/w7822938/article/details/47173047
共同头部+ViewPager+ListView(AdapterView)|RecyclerView|ScrollView|WebView
blog:http://blog.csdn.net/w7822938/article/details/47173047
安装包放在/demo-apk,可以直接安装看效果
2015/12/18:
添加对WebView的支持.
2015/12/11:
添加canPtr()方法,支持下拉刷新(demo以android-Ultra-Pull-To-Refresh为例.
2015/8/31:
添加对RecyclerView的支持.
效果如下:
dependencies {
compile 'com.github.cpoopc:scrollablelayoutlib:1.0.1' // 目前只发布到jcenter
}1.xml
2.xxFragment|xxView|.. implements ScrollableHelper.ScrollableContainer
@Override
public View getScrollableView() {
return scrollView;
}3.设置当前container
mScrollLayout.getHelper().setCurrentScrollableContainer(scrollableContainer)No open issues yet, or sync has not completed.