| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
OphMarroqui
8年前发布

Android开源:BeautifulRefreshLayout-优秀的下拉刷新合集

   <h2>BeautifulRefreshLayout</h2>    <h2>众多优秀的下拉刷新(除了我写的之外T_T)</h2>    <p>说起下拉刷新,好像经历一段历史的洗礼。。。</p>    <p style="text-align: center;">(1)在我刚学android的时候,用的是XListView,在github上搜索有 <a href="/misc/goto?guid=4959641408669446637" rel="nofollow,noindex">MarkMjw/PullToRefresh</a> ,根据Maxwin的XListView改造而来,完善下拉刷新上拉加载更多的功能并实现自动刷新以及自动加载等功能, 并增加对ScrollView的支持。 原XListView参考链接: <a href="/misc/goto?guid=4959729072430613260" rel="nofollow,noindex">https://github.com/Maxwin-z/XListView-Android(听说原作者停</a></p>    <p><a href="/misc/goto?guid=4959729072430613260" rel="nofollow,noindex">止维护了)</a></p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/b35d652eddd57b869bc696b54aea5588.png"></p>    <p>(2)然后又学了 <a href="/misc/goto?guid=4958533801755197808" rel="nofollow,noindex">chrisbanes/Android-PullToRefresh</a> 的那个库,这个库牛逼到要死,支持ListView、ExpandableListView、GridView、WebView、ScrollView、HorizontalScrollView、ViewPager、ListFragment、、、</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/4db0eca3cee58de57850eb64d5c9cd11.png"></p>    <p>自己也侮辱了这个库,改的乱七八糟 <a href="/misc/goto?guid=4959641408964860515" rel="nofollow,noindex">https://github.com/android-cjj/ComicReader/tree/master/YinHunPulltoRefreshLibrary</a> ,增加了支持瀑布流刷新的功能和下拉动画效果的。。。。</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/f3fbfc953c4aa30ab1f8f9aee568c307.png"></p>    <p>(3)那时候看了知乎的客户端,下拉刷新很炫,查了下是用什么实现的,最终知道是用 <a href="/misc/goto?guid=4958822867894299729" rel="nofollow,noindex">chrisbanes/ActionBar-PullToRefresh</a> 的库可以实现那种效果,又去学了,啊哈哈,然而过些日子也没见人用了,啊哈哈哈</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/bf449c9c8689c3fe005c90853dd743df.png"></p>    <p>(4)这时候google也有自己的下拉控件SwipeRefreshLayout,刚出来的效果,一条加载直线,个人觉得,一般到要死。 <a href="/misc/goto?guid=4959553603667840394" rel="nofollow,noindex">stormzhang/SwipeRefreshLayoutDemo</a> 写了demo。</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/d6d84bd178ccc208efdb57d813450754.gif"></p>    <p>android 5.0之后效果是个加载圆圈,还可以接受了,现在很多应用都用这个</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/622e5e0c88cbda40b0b071b341dae05c.gif"></p>    <p>(5)这时又看到了 <a href="/misc/goto?guid=4959622821264521276" rel="nofollow,noindex">baoyongzhang/android-PullRefreshLayout</a> ,This component like SwipeRefreshLayout, it is more beautiful than SwipeRefreshLayout.就是比google的跟漂亮。呵呵!</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/10a37ea074acc077d1bb39226f80f7d6.gif"></p>    <p>(6)同时,这里也要提下 <a href="/misc/goto?guid=4958864078206473805" rel="nofollow,noindex">liaohuqiu/android-Ultra-Pull-To-Refresh</a> ,已经强大到什么控件都能适用刷新了,相信你也听过了</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/e4c5f4ee93163f43ec89c39bd468c2cc.gif"></p>    <p>(7)看过最有创意的下拉刷新FlyRefresh,一只飞机飞啊飞,然而并没有什么卵用.....</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/ae3ca630f2d22c3ebdf02adc23ed2bbe.gif"></p>    <p>(8)material设计已经深入到开发者的心里,然后 我看到了A pull-down-to-refresh layout inspired by Lollipop overscrolled effects <a href="/misc/goto?guid=4959641409571605149" rel="nofollow,noindex">allan1st/JellyRefreshLayout</a> ,我这个也是看人家的代码实现的,十分感谢,啊哈哈</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/7f44536103f986938d4bc9647f56f2e6.gif"></p>    <p>(9)最近看的下拉刷新也是挺奇怪的,就比如 <a href="/misc/goto?guid=4958964899844018396" rel="nofollow,noindex">recruit-lifestyle/BeerSwipeRefresh</a> 啤酒下拉刷新和 <a href="/misc/goto?guid=4958964899746374282" rel="nofollow,noindex">recruit-lifestyle/WaveSwipeRefreshLayout</a> 水滴下拉刷新...</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/7d4c7d8c3b05424bf8b3d6b008088fde.gif"> <img src="https://simg.open-open.com/show/1ddf0b842df8caa94a4a4b54d73a10e0.gif"></p>    <p>(10)这个是网友推荐的 <a href="/misc/goto?guid=4958964899160803094" rel="nofollow,noindex">SuperSwipeRefreshLayout</a> ,顾名思义,是扩展自SwipeRefreshLayout。</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/7ae53b8dc1a1b2956e8a22e00a241d0d.gif"></p>    <p>(11)这个是Yalantis公司开发的下拉刷新,其中它的很多东西动画这块,做的非常漂亮Yalantis/Phoenix</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/06ef8eebfd0df75e73acd9c891738878.gif"></p>    <p>Taurus又是飞机飞啊飞...</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/8525ad56d366591f6701469aa3a9711a.gif"></p>    <p>(12) <a href="/misc/goto?guid=4958962583127305978" rel="nofollow,noindex">tuesda/CircleRefreshLayout</a> 的下拉刷新,动画做的很不错,设计图来源 <a href="/misc/goto?guid=4959639913144177373" rel="nofollow,noindex">https://dribbble.com/shots/1797373-Pull-Down-To-Refresh</a></p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/d092fa7796226a3cbcf6b5970e279a1b.gif"></p>    <p>(13) <a href="/misc/goto?guid=4959729072910605697" rel="nofollow,noindex">BeautifulRefreshLayoutForFood</a></p>    <p>看到一个很漂亮的美食下拉刷新 <a href="https://dribbble.com/shots/2096383-Pull-To-Refresh-V2?list=users&offset=1" rel="nofollow,noindex">(来源地址)</a> ,可惜技术水平菜菜的,只能模仿一下下,啊哈哈。。。源码下载地址download</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/5f7b1340ef94c4aa2cd1afc98a1f1ac5.gif"></p>    <p>(14) <a href="/misc/goto?guid=4959729073039446446" rel="nofollow,noindex">BeautifulRefreshLayoutForNaruto</a></p>    <p>闲着蛋疼,写了个血轮眼下拉刷新的,虽然火影漫画完结了,但是动画还在继续,真的是挂漫天飞。。。。 </p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/3d3eb66a91eaf966701dd63a7540fbe3.gif"></p>    <p>(15) <a href="/misc/goto?guid=4958875683109202499" rel="nofollow,noindex">bingoogolapple/BGARefreshLayout-Android</a> 多种下拉刷新效果、上拉加载更多、可配置自定义头部广告位...</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/7347e2e49af5adb29b14f1d84045528e.gif"></p>    <p>(16) <a href="/misc/goto?guid=4959729073164343840" rel="nofollow,noindex">BeautifulRefreshLayoutForGirl</a></p>    <p>这是一个小清新的下拉刷新,纯代码绘制,无需任何图片,Recyclerview中item展示的妹子图来自 <a href="/misc/goto?guid=4959642657034194796" rel="nofollow,noindex">http://gank.io/</a></p>    <p>设计图来源,当然我实现的效果做了一些修改,希望你喜欢,呵呵。。。源码下载地址download <a href="/misc/goto?guid=4959729073310414590" rel="nofollow,noindex">pull to refresh by Michael Lanning</a></p>    <h2>截图</h2>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/37f38f6d81a7a231f44269cfdd5b567e.gif"></p>    <p>(17) <a href="/misc/goto?guid=4959729073401433369" rel="nofollow,noindex">BeautifulRefreshLayoutForRain</a></p>    <p>这是一个下雨刷新,你没听错,确实一刷新就下雨,为什么会出现,只是我的好奇心而做的东西,见怪不怪了,呵呵。。。</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/70ba0b0a6c4ea42e1aee9573f9e8da7a.gif"></p>    <p>(18) <a href="/misc/goto?guid=4959660294072880637" rel="nofollow,noindex">Android-MaterialRefreshLayout</a> 是我最近写的, it is more beautiful and powerful than SwipeRefreshLayout , 下拉刷新拥有侵入式,非侵入式,覆盖式,非覆盖式,自动刷新,上拉加载更多,自动加载等功能......</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/6b5ae7dda004d488cc6b476678d02287.gif"></p>    <p>(19) <a href="/misc/goto?guid=4959645600026595945" rel="nofollow,noindex">WaveRefreshForAndroid</a> 这个是基于 <a href="/misc/goto?guid=4958533801755197808" rel="nofollow,noindex">Android-PullToRefresh</a> 修改的而成的水波纹下拉刷新...可能作者主攻ios,所以ios的效果看起来好看点WaveRefresh...</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/0fa80af5b8b9d35fdbd0214c54316585.gif"></p>    <p>(20)WaterDropListView如果你用过ios的qq,那应该很熟悉这种刷新了,效果还是蛮不错的,就是不知道为什么android版本的qq不用,呵呵。。。</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/6387ea96b58a9228194001018746774d.gif"></p>    <p>(21) <a href="/misc/goto?guid=4959729073569948155" rel="nofollow,noindex">SwipeRefreshRecyclerView</a> 一个展示 RecyclerView 下拉刷新和上拉加载更多的 Demo 完全使用原生控件实现非侵入式的下拉刷新和加载更多。 同时也是 Ailurus 练习 RxJava 的小例子。 使用HeaderViewRecyclerAdapter完成了加载更多的进度展示</p>    <p> </p>    <p>(22)阿拉灯神灯写的两个下拉库 <a href="/misc/goto?guid=4958971331264659484" rel="nofollow,noindex">AutoHomeRefreshListView</a> 仿汽车之家下拉刷新和 <a href="/misc/goto?guid=4959729073697517591" rel="nofollow,noindex">MeiTuanRefreshListView</a> 仿美团下拉刷新。。。</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/df1f8acdcb8d778c46265bafb49c2cfd.gif"> <img src="https://simg.open-open.com/show/0219a59f6be33090645a55f4b40eeece.gif"></p>    <p>(23)XRecyclerViewa RecyclerView that implements pullrefresh and loadingmore featrues.you can use it like a standard RecyclerView</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/107a0346bd57630fcc9af01ff1a1d6af.gif"></p>    <p>(24) <a href="/misc/goto?guid=4959729073788840130" rel="nofollow,noindex">ChromeLikeSwipeLayout</a> 这个效果蛮赞的,细节做的很好。。。。Pull down, and execute more action!</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/eb0b7d624f0b6d175b8464449f10ea7f.gif"></p>    <p>(25)下拉玩消格子游戏HitBlockRefresh, 一边下拉刷新,一边打砖块.</p>    <p style="text-align: center;"><img src="https://simg.open-open.com/show/350ebd9df84194726a9ae6a8db1ba834.gif"></p>    <ul>     <li>温馨提示:如需RecyclerView加载更多,请参考: <a href="/misc/goto?guid=4959663334974591507" rel="nofollow,noindex">https://github.com/android-cjj/Android-RecyclerViewWithFooter</a></li>    </ul>    <h2>写在最后</h2>    <p>这个仓库我会一直维护,有时间也会写一些比较有意思的下拉刷新,只是技术有限,不要吐槽给建议就好,呵呵。。。同时,也希望你们能介绍一些比较好的下拉刷新的库给我,让更多人知道有这个东西,大家一起交流学习,一起进步。欢迎随时关注,记得star哦,呵呵! If you want to support me,you can follow me on Github: <a href="/misc/goto?guid=4959659097568266604" rel="nofollow,noindex">https://github.com/android-cjj</a> .</p>    <h2>随意说说</h2>    <p>刚建了个 <a href="/misc/goto?guid=4959729075344841232" rel="nofollow,noindex">github小伙伴交流群</a> (477826523),有兴趣的朋友可以加进来的...小小要求:github有至少7个关注者或者开源库有7颗星星的...</p>    <pre>  ****************************转载请注明出处,不然我咬你哦!************************</pre>    <h2><a href="/misc/goto?guid=4959729075448853182" rel="nofollow,noindex">about me</a></h2>    <h2>License</h2>    <pre>  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.</pre>    <p> </p>    <p> </p>    <p> </p>    
 本文由用户 OphMarroqui 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1481528362652.html
Android开发 移动开发 SwipeRefreshLayout