Android代码-StickyHeaders

时间:2022-08-25 20:16:28
【文件属性】:

文件名称:Android代码-StickyHeaders

文件大小:10.82MB

文件格式:ZIP

更新时间:2022-08-25 20:16:28

Android代码

StickyHeaders Easily add Sticky Headers to your RecyclerView Setup Implement StickyHeaderHandler in your Presenter/Adapter/Activity or whatever class has access to your RecyclerView adapter dataset Make sure the parent of the RecyclerView is a FrameLayout or CoordinatorLayout (this will be verified at Runtime) Instantiate a StickyLayoutManager and set that as the LayoutManager for your RecyclerView. For items in your dataset that you want to act as sticky headers, implement the marker interface


【文件预览】:
StickyHeaders-master
----gradlew(5KB)
----settings.gradle(33B)
----LICENSE.txt(10KB)
----art()
--------demo.gif(6MB)
--------demo-padding.gif(4.82MB)
----.travis.yml(233B)
----gradle()
--------wrapper()
----README.md(3KB)
----stickyheaders()
--------src()
--------.gitignore(25B)
--------build.gradle(2KB)
--------proguard-rules.pro(673B)
----gradlew.bat(2KB)
----gradle.properties(283B)
----.gitignore(105B)
----app()
--------src()
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.pro(673B)
----CHANGELOG.md(2KB)
----build.gradle(812B)

网友评论