Skip to content

Sunzxyong/BeautifulRefreshLayout

 
 

Repository files navigation

BeautifulRefreshLayout

Android Arsenal

众多优秀的下拉刷新(除了我写的之外T_T)

说起下拉刷新,好像经历一段历史的洗礼。。。

(1)在我刚学android的时候,用的是XListView,在github上搜索有MarkMjw/PullToRefresh,根据Maxwin的XListView改造而来,完善下拉刷新上拉加载更多的功能并实现自动刷新以及自动加载等功能, 并增加对ScrollView的支持。 原XListView参考链接:https://github.com/Maxwin-z/XListView-Android(听说原作者停止维护了)

(2)然后又学了chrisbanes/Android-PullToRefresh的那个库,这个库牛逼到要死,支持ListView、ExpandableListView、GridView、WebView、ScrollView、HorizontalScrollView、ViewPager、ListFragment、、、

自己也侮辱了这个库,改的乱七八糟https://github.com/android-cjj/ComicReader/tree/master/YinHunPulltoRefreshLibrary,增加了支持瀑布流刷新的功能和下拉动画效果的。。。。

(3)那时候看了知乎的客户端,下拉刷新很炫,查了下是用什么实现的,最终知道是用chrisbanes/ActionBar-PullToRefresh的库可以实现那种效果,又去学了,啊哈哈,然而过些日子也没见人用了,啊哈哈哈

(4)这时候google也有自己的下拉控件SwipeRefreshLayout,刚出来的效果,一条加载直线,个人觉得,一般到要死。stormzhang/SwipeRefreshLayoutDemo写了demo。

android 5.0之后效果是个加载圆圈,还可以接受了,现在很多应用都用这个

(5)这时又看到了baoyongzhang/android-PullRefreshLayout,This component like SwipeRefreshLayout, it is more beautiful than SwipeRefreshLayout.就是比google的跟漂亮。呵呵!

(6)同时,这里也要提下liaohuqiu/android-Ultra-Pull-To-Refresh,已经强大到什么控件都能适用刷新了,相信你也听过了

(7)看过最有创意的下拉刷新FlyRefresh,一只飞机飞啊飞,然而并没有什么卵用.....

(8)material设计已经深入到开发者的心里,然后 我看到了A pull-down-to-refresh layout inspired by Lollipop overscrolled effects allan1st/JellyRefreshLayout,我这个也是看人家的代码实现的,十分感谢,啊哈哈

(9)最近看的下拉刷新也是挺奇怪的,就比如recruit-lifestyle/BeerSwipeRefresh啤酒下拉刷新和recruit-lifestyle/WaveSwipeRefreshLayout水滴下拉刷新...

(10)这个是网友推荐的SuperSwipeRefreshLayout,顾名思义,是扩展自SwipeRefreshLayout。

(11)这个是Yalantis公司开发的下拉刷新,其中它的很多东西动画这块,做的非常漂亮Yalantis/Phoenix

Taurus又是飞机飞啊飞...

(12)tuesda/CircleRefreshLayout的下拉刷新,动画做的很不错,设计图来源https://dribbble.com/shots/1797373-Pull-Down-To-Refresh

(13)BeautifulRefreshLayoutForFood

看到一个很漂亮的美食下拉刷新(来源地址) ,可惜技术水平菜菜的,只能模仿一下下,啊哈哈。。。源码下载地址download

(14)BeautifulRefreshLayoutForNaruto

闲着蛋疼,写了个血轮眼下拉刷新的,虽然火影漫画完结了,但是动画还在继续,真的是挂漫天飞。。。。(源码下载地址download)

(15)bingoogolapple/BGARefreshLayout-Android多种下拉刷新效果、上拉加载更多、可配置自定义头部广告位...

(16)BeautifulRefreshLayoutForGirl

这是一个小清新的下拉刷新,纯代码绘制,无需任何图片,Recyclerview中item展示的妹子图来自http://gank.io/

设计图来源,当然我实现的效果做了一些修改,希望你喜欢,呵呵。。。源码下载地址download pull to refresh by Michael Lanning 截图

(17)BeautifulRefreshLayoutForRain

这是一个下雨刷新,你没听错,确实一刷新就下雨,为什么会出现,只是我的好奇心而做的东西,见怪不怪了,呵呵。。。

(18)Android-MaterialRefreshLayout是我最近写的, it is more beautiful and powerful than SwipeRefreshLayout , 下拉刷新拥有侵入式,非侵入式,覆盖式,非覆盖式,自动刷新,上拉加载更多,自动加载等功能......

(19)WaveRefreshForAndroid这个是基于Android-PullToRefresh修改的而成的水波纹下拉刷新...可能作者主攻ios,所以ios的效果看起来好看点WaveRefresh...

(20)WaterDropListView如果你用过ios的qq,那应该很熟悉这种刷新了,效果还是蛮不错的,就是不知道为什么android版本的qq不用,呵呵。。。

(21)SwipeRefreshRecyclerView 一个展示 RecyclerView 下拉刷新和上拉加载更多的 Demo 完全使用原生控件实现非侵入式的下拉刷新和加载更多。 同时也是 Ailurus 练习 RxJava 的小例子。 使用HeaderViewRecyclerAdapter完成了加载更多的进度展示

(22)阿拉灯神灯写的两个下拉库AutoHomeRefreshListView仿汽车之家下拉刷新和MeiTuanRefreshListView仿美团下拉刷新。。。

(23)XRecyclerViewa RecyclerView that implements pullrefresh and loadingmore featrues.you can use it like a standard RecyclerView

(24)ChromeLikeSwipeLayout这个效果蛮赞的,细节做的很好。。。。Pull down, and execute more action!

写在最后

这个仓库我会一直维护,有时间也会写一些比较有意思的下拉刷新,只是技术有限,不要吐槽给建议就好,呵呵。。。同时,也希望你们能介绍一些比较好的下拉刷新的库给我,让更多人知道有这个东西,大家一起交流学习,一起进步。欢迎随时关注,记得star哦,呵呵! If you want to support me,you can follow me on Github: https://github.com/android-cjj.

随意说说

刚建了个github小伙伴交流群(477826523),有兴趣的朋友可以加进来的...小小要求:github有至少7个关注者或者开源库有7颗星星的...

  ****************************转载请注明出处,不然我咬你哦!************************

License

The MIT License (MIT)

Copyright (c) 2015 android-cjj

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

A bueautiful RefreshLayout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%