OneXListview

码农软件 · 软件分类 · Android UI 组件 · 2019-04-27 10:12:06

软件介绍

原始组件说明

整合和扩展了如下项目

  1. XListview

    上拉加载,下拉刷新,listview

  2. PinterestLikeAdapterView

    类似于pinterest瀑布流实现

  3. https://github.com/emilsjolander/StickyListHeaders

    列表头部固定的

  4. https://github.com/woozzu/IndexableListView

    列表快速索引

以上项目的版权声明均为 Apache License 2.0

扩展说明

在这些原始项目,并不是所有项目都支持上拉加载,下拉刷新,于是,我在原始项目的基础上扩展出一系列XXlistview, 把xlistview上拉,下拉机制对相应项目进行改造,是这些原本不具备上拉,下拉机制的listview都拥有这个功能. 并且对原xlistview 的存在的bug 也进行了相应的修复.

扩展的view

以下view 如无特殊说明都支持上下拉

  1. XIndexableView

    具有快速索引的listview

  2. XMultiColumnListView

    扩展自原瀑布流

  3. XStickyListHeadersIndexableView

    具有固定头部,且支持快速索引

  4. XStickyListHeadersView

    固定头部

使用

要开启上下拉很简单

开启上拉

mListView.setPullLoadEnable(true);

开启下拉(默认开启)

mListView.setPullRefreshEnable(true);

监听器

mListView.setXListViewListener(this);

由于demo 可能需要点时间,用法跟listview一样,等不及演示demo可以去看原项目的demo,基本没有区别.

ToDo list

  1. 实现跟便捷的自定义上下拉view机制
  2. 演示用demo
  3. 写相应的文档

本文地址:https://codercto.com/soft/d/4485.html

Pattern Recognition and Machine Learning

Pattern Recognition and Machine Learning

Christopher Bishop / Springer / 2007-10-1 / USD 94.95

The dramatic growth in practical applications for machine learning over the last ten years has been accompanied by many important developments in the underlying algorithms and techniques. For example,......一起来看看 《Pattern Recognition and Machine Learning》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具