Android開源:BeautifulRefreshLayout-優秀的下拉刷新合集
BeautifulRefreshLayout
眾多優秀的下拉刷新(除了我寫的之外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
閑著蛋疼,寫了個血輪眼下拉刷新的,雖然火影漫畫完結了,但是動畫還在繼續,真的是掛漫天飛。。。。
(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!
(25)下拉玩消格子游戲HitBlockRefresh, 一邊下拉刷新,一邊打磚塊.
- 溫馨提示:如需RecyclerView加載更多,請參考: https://github.com/android-cjj/Android-RecyclerViewWithFooter
寫在最后
這個倉庫我會一直維護,有時間也會寫一些比較有意思的下拉刷新,只是技術有限,不要吐槽給建議就好,呵呵。。。同時,也希望你們能介紹一些比較好的下拉刷新的庫給我,讓更多人知道有這個東西,大家一起交流學習,一起進步。歡迎隨時關注,記得star哦,呵呵! If you want to support me,you can follow me on Github: https://github.com/android-cjj .
隨意說說
剛建了個 github小伙伴交流群 (477826523),有興趣的朋友可以加進來的...小小要求:github有至少7個關注者或者開源庫有7顆星星的...
****************************轉載請注明出處,不然我咬你哦!************************
about me
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.</pre>