固定在屏幕顶部的列表功能
应用介绍
作者emilsjolander,源码StickyListHeaders,该源码实现了列表中固定在屏幕顶部的列表功能,实现能够固定在屏幕顶部的ListView Section Header. 当前section的header固定在屏幕顶部,当滑动到其他section时,其他section的header会代替之前的section的header,固定到屏幕顶部。 StickyListHeaders is an Android library that makes it easy to integrate section headers in your ListView. These section headers stick to the top like in the new People app of Android 4.0 Ice Cream Sandwich. This behavior is also found in lists with sections on iOS devices. This library can also be used without the sticky functionality if you just want section headers. StickyListHeaders actively supports android versions 2.3 (gingerbread) and above. That said, it works all the way down to 2.1 but is not actively tested or working perfectly. Here is a short gif showing the functionality you get with this library:

©软件著作权归作者所有。本站所有内容均来源于网络,不得违法使用,仅供学习使用,请支持正版!
转载请注明出处: 662P » 固定在屏幕顶部的列表功能
发表评论 取消回复