1. 首页
  2. 编程语言
  3. 其他
  4. ParallaxListViewListView的header在滚动过程中会产生视差效果。.zip

ParallaxListViewListView的header在滚动过程中会产生视差效果。.zip

上传者: 2020-05-23 22:02:35上传 ZIP文件 15.48MB 热度 9次
ListView的header在滚动过程中会产生视差效果。项目地址:https://github.com/mattlogan/ParallaxListView效果图:使用方法在平时使用ListView的地方使用ParallaxListView。像平时一样调用setAdapter(ListAdapteradapter)方法,不用关心header的问题。调用setHeaderDrawable(Drawabledrawable)设置一个headerParallaxListView包含了一些样式属性,比如分割线颜色,分割线高度,header_height,parallax_factor等
下载地址
用户评论