Git Product home page Git Product logo

wraprecyclerview's Introduction

支持下拉刷新和上拉加载更多的RecyclerView

具体介绍请看:传送门

使用

现已发布到两个源:JitPack 和 jCenter

两个平台加载下来的代码是一样的,区别在于导入时使用的 groupId 和 artifactId 的不同,以及版本号。 建议使用 jCenter,省事一些

一. jCenter 最新版本:1.0.0

dependencies {
    implementation 'com.oynix.xrecyclerview:xrecyclerview:1.0.0'
}

二. JitPack 最新版本:2.0.0

  1. 根目录build.gradle添加
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
  1. 项目目录build.gradle添加
dependencies {
    implementation 'com.github.oynix:wraprecyclerview:2.0.0'
}
  1. Sync,即可。详细说明

2020.02.08更新

  • v2.0.0 调整包名

2020.02.07更新

  • v1.0.0 修复已知问题,增加自定义LoadMoreView,发布至JitPack
  • v1.0.1 修复滑动距离不足导致循环滑动的bug

2019.12.18更新

  • 修复bug:列表项未占满列表时,滑动列表会循环触发‘加载更多’操作

2018.10.25更新

将原WrapperRecyclerView进行了重写:

  1. 思路大致相同
  2. 将更多内容封装
  3. 修复了部分已知问题

wraprecyclerview's People

Contributors

oynix avatar

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.