All Projects → yukuoyuan → YRecyclerView

yukuoyuan / YRecyclerView

Licence: other
这是一个自定义的可以下拉刷新,上拉加载,设置空布局展示,侧滑删除的Demo

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to YRecyclerView

KRecyclerDsl
Kotlin Dsl for Android RecyclerView
Stars: ✭ 14 (-72.55%)
Mutual labels:  recyclerview
JADA
JADA - Just Another Dictionary App
Stars: ✭ 20 (-60.78%)
Mutual labels:  recyclerview
GoogleAutoCompleteWithRecyclerView
An exaple of google Auto Complete Places API with android SDK implemented with RecyclerView
Stars: ✭ 29 (-43.14%)
Mutual labels:  recyclerview
ARVI
Android library designed to simplify the implementation of the video autoplay in the RecyclerView
Stars: ✭ 69 (+35.29%)
Mutual labels:  recyclerview
TheGreatAdapter
Multiple items adapter made too easy, including headers and footers.
Stars: ✭ 46 (-9.8%)
Mutual labels:  recyclerview
Android
Step by step guide for various components in android
Stars: ✭ 32 (-37.25%)
Mutual labels:  recyclerview
PrimeAdapter
PrimeAdapter makes working with RecyclerView easier.
Stars: ✭ 54 (+5.88%)
Mutual labels:  recyclerview
endless-recycler-view
RecyclerView with paging
Stars: ✭ 30 (-41.18%)
Mutual labels:  recyclerview
ExpandableRecyclerView
ExpandableRecyclerView with smoothly animation.
Stars: ✭ 412 (+707.84%)
Mutual labels:  recyclerview
RxPagination
Implement pagination in just few lines with RxPagination
Stars: ✭ 20 (-60.78%)
Mutual labels:  recyclerview
SpacingItemDecoration
ItemDecoration for RecyclerView that allows you to set spacing between and around list items in flexible way.
Stars: ✭ 83 (+62.75%)
Mutual labels:  recyclerview
Android-Code-Demos
📦 Android learning code demos.
Stars: ✭ 41 (-19.61%)
Mutual labels:  recyclerview
Adsorbent
Adsorbent of RecyclerView , RecyclerView吸顶
Stars: ✭ 25 (-50.98%)
Mutual labels:  recyclerview
slush
This library will no longer be updated 😭
Stars: ✭ 26 (-49.02%)
Mutual labels:  recyclerview
CardLayoutManager
A custom layoutManager providing a Tinder-like cards effect.
Stars: ✭ 37 (-27.45%)
Mutual labels:  recyclerview
My Android Garage
A quick reference guide for Android development.
Stars: ✭ 66 (+29.41%)
Mutual labels:  recyclerview
Simple-Notes-Kotlin-App
✍️ Simple Note Making App use mvvm architecture , dagger , coroutines and navigation component. Features includes 🗒️ create , edit and ❌ delete notes
Stars: ✭ 40 (-21.57%)
Mutual labels:  recyclerview
recyclerfragment
An Android Fragment that displays a set of items in a RecyclerView.
Stars: ✭ 16 (-68.63%)
Mutual labels:  recyclerview
epg magic carousel
Awesome RecyclerView with custom LayoutManager
Stars: ✭ 98 (+92.16%)
Mutual labels:  recyclerview
MultiChoiceMode-RecyclerView
This repository provides an API for creating a multi choice mode in RecyclerView.
Stars: ✭ 20 (-60.78%)
Mutual labels:  recyclerview

这是一个下拉刷新和下拉加载的Recycleview的控件,实现的想法来自于XListview

使用方法很简单

看下效果图展示

这里写图片描述

maven引用方式

<dependency>
  <groupId>cn.yuan.yu.recycleview</groupId>
  <artifactId>mylibrary</artifactId>
  <version>1.0.4</version>
  <type>pom</type>
</dependency>

gradle引用方式

 compile 'cn.yuan.yu.recycleview:mylibrary:1.0.4'
    布局文件添加
     <yuan.kuo.yu.view.YRecyclerView
        android:id="@+id/ycl"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

至于更改上啦刷新和下拉加载的动画,我发现了一个更加简单的方式去实现,就是通过帧动画的形式,直接设置,方便diy设置

其他的适配器以及正常编写都是和官方的一样,没有任何改变上手比较容易简单

有问题请反馈

更新日志

  • 2018/6/23:修复了上拉加载更多的时候出现空白间隙问题的修改
  • 2018/2/10:增加添加头布局功能
  • 2018/2/5 :重构了空数据下拉刷新的方法的修改,移除了无用的方法
  • 2017/5/27:提交了设置空布局,以及空布局可以下拉加载的方法以及Demo
  • 2017/5/16:有同学提出,刷新单个条目的时候,有问题,这个问题是因为处理headview导致的,感谢PascalGUO提的bug.
  • 2017/4/19:修复了因为没有上啦刷新,导致删除数据索引越界的问题,感谢XiaoDada提的bug.
  • 2016/3/30:提交了第一个版本的YRecycleview.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].