StikkyHeader是一个非常简单的Android类库,可以在滚动视图上添加一个粘性头部(Stick Header)以及在头部应用动画。该类库支持ListView 、RecyclerView和ScrollView。
用法:
1 | StikkyHeaderBuilder.stickTo(mListView) |
2 | .setHeader(R.id.header, containerLayout) |
3 | .minHeightHeaderPixel( 250 ) |
4 | .build(); |
项目描述:This is a very simple library for Android that allows you to stick an header to a scrollable view and easily apply animation to it — 查看更多内容...
问题列表: | ||
#63 | ContainerLayout in an activity? | 由 borjaruiz 2015-09-21 |
#62 | When the header's height is larger than the viewport it can not be scrolled | 由 senorcris 2015-09-18 |
#47 | Allow shadow on header, enhancement | 由 GHEEV 2015-05-19 |
#38 | StikkyHeader with ViewPager, which contains RecyclerViews? | 由 dotWee 2015-04-27 |
#36 | RecyclerView Adapter Issue | 由 vsahu1986 2015-08-22 |
Github托管地址:https://github.com/carlonzo/StikkyHeader