Git Product home page Git Product logo

pulllistview's Introduction

PullListView

一个简单的下拉刷新和加载更多的ListView

例子

下拉刷新,自动加载更多

下拉刷新,自动加载更多

点击加载更多

点击加载更多

添加额外Header1

添加额外Header1

添加额外Header2

添加额外Header2

配置

getMoreType

可选属性autoclick,默认为auto
加载更多触发方式,默认为滑动到底部自动加载更多

addPullHeaderByUser

boolean值,默认为false
自定义属性,是否由用户自己控制添加下拉刷新Header
默认为false,下拉刷新Header会在构造函数中添加到PullListView中,作为第一个Header,显示在最上部
如果用户添加了额外的Header,额外的Header会在下拉刷新Header之下。
用户有时需要控制添加Header的顺序,可以将此属性设置为true,并在合适的时机,主动调用addPullHeader()方法,去添加下拉刷新Header

License

GPL V2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.