最全的Android框架整理,絕對有你想要的

作為一名Android程序猿,想要在平常工作中越來越順,一定要在開發(fā)中使用一些比較高效流行的框架,下面是個人對開發(fā)中常用的框架進行整理成果。

1、響應式編程

RxJava
https://github.com/ReactiveX/RxJava

RxAndroid
Android上的響應式擴展,在RxJava基礎上添加了Android線程調(diào)度
https://github.com/ReactiveX/RxAndroid

RxJavaJoins
為RxJava提供Joins操作
https://github.com/ReactiveX/RxJavaJoins

RxBinding
提供用RxJava綁定Android UI的API
https://github.com/JakeWharton/RxBinding

Agera
Android上的響應式編程
https://github.com/google/agera

2、消息通信
EventBus
組件間的消息通信
https://github.com/greenrobot/EventBus

Otto
一個基于Guava的增強的事件總線
https://github.com/square/otto

3、注解框架
butterknife
View注解框架
https://github.com/JakeWharton/butterknife

dagger
Android和Java的依賴注入框架
https://github.com/google/dagger

AndroidAnotations
快速安卓開發(fā)。易于維護
https://github.com/androidannotations/androidannotations

RoboGuice
Android平臺的Google Guice
https://github.com/roboguice/roboguice

4、數(shù)據(jù)解析
Gson
https://github.com/google/gson

fastjson
Java上一個快速的JSON解析器/生成器
https://github.com/alibaba/fastjson

Jackson
Jackson可以輕松地將Java對象轉(zhuǎn)換成json對象和xml文檔,同樣也可以將json、xml轉(zhuǎn)換成Java對象
https://github.com/codehaus/jackson

HtmlPaser
一種用來解析單個獨立html或嵌套html的方式
https://sourceforge.net/projects/htmlparser/

Jsoup
一個以最好的DOM,CSS和jQuery解析html的庫
https://github.com/jhy/jsoup

5、數(shù)據(jù)庫
Realm
移動數(shù)據(jù)庫SQLite&ORM替代者
https://github.com/realm/realm-java

ActiveAndroid
無需寫sql語句
https://github.com/pardom/ActiveAndroid

greenDAO
輕量級、快速ORM解決方案
https://github.com/greenrobot/greenDAO

OrmLite
JDBC和Android的輕量級ORM java包
https://sourceforge.net/projects/ormlite/files/releases/com/j256/ormlite/

Sugar
用超級簡單的方法處理Android數(shù)據(jù)庫
https://github.com/chennaione/sugar

SQLBrite
SQLiteOpenHelper 和ContentResolver的輕量級包裝
https://github.com/square/sqlbrite

6、網(wǎng)絡請求
OkHttp
良心組織square開源項目
https://github.com/square/okhttp

AndroidAsyncHttp
異步請求http庫
https://github.com/loopj/android-async-http

AndroidAsync
異步Socket,HTTP(客戶端+服務器),WebSocket,和socket.io庫?;贜IO而不是線程。
https://github.com/koush/AndroidAsync

retrofit
又是square出品的精品,該http請求庫與dagger、rxjava為越來越多人使用的三劍客
https://github.com/square/retrofit

Volley
Google推出的Android異步網(wǎng)絡請求框架和圖片加載框架
項目地址:https://github.com/smanikandan14/Volley-demo

7、后臺處理
Tape
一個輕快的,事務性的,基于文件的FIFO的庫
https://github.com/square/tape

Android Priority Job Queue
一個專門為Android輕松調(diào)度任務的工作隊列
https://github.com/yigit/android-priority-jobqueue

8、圖片加載
Android-Universal-Image-Loader
非常流行圖片加載庫
https://github.com/nostra13/Android-Universal-Image-Loader

Glide
https://github.com/bumptech/glide

fresco
facebook出品,必屬精品
https://github.com/facebook/fresco

picasso
https://github.com/square/picasso

9、圖片處理
Picasso-transformations
一個為Picasso提供多種圖片變換的庫
https://github.com/wasabeef/picasso-transformations

Glide-transformations
一個為Glide提供多種圖片變換的庫
https://github.com/wasabeef/glide-transformation

Android-gpuimage
基于OpenGL的Android過濾器
https://github.com/CyberAgent/android-gpuimage

10、多媒體操作
android-multipicker-library
圖片、視頻、文件、音樂、通訊錄選擇器
https://github.com/coomar2841/android-multipicker-library

Android-Image-Cropper
圖片裁剪庫
https://github.com/ArthurHub/Android-Image-Cropper

uCrop
https://github.com/Yalantis/uCrop

android-UniversalMusicPlayer
google的跨平臺音樂播放器,支持手機、平板、手表和TV,是學習多平臺的最好實例
https://github.com/googlesamples/android-UniversalMusicPlayer

PhotoView
圖片手勢操作放大縮小庫
https://github.com/chrisbanes/PhotoView

ijkplayer
bilibili的開源項目 基于ffplay的播放器
https://github.com/Bilibili/ijkplayer

11、圖表
WilliamChart
創(chuàng)建圖表的Android庫
https://github.com/diogobernardino/WilliamChart

HelloCharts
兼容到API8的Android圖表庫
https://github.com/lecho/hellocharts-android

MPAndroidChart
一個強大的Android圖表視圖/圖形庫
https://github.com/PhilJay/MPAndroidChart

12、設備相關
zxing
Java實現(xiàn)的條形碼、二維碼掃描開源庫
https://github.com/zxing/zxing

zbar
C實現(xiàn)的條形碼、二維碼掃描庫
https://github.com/ZBar/ZBar

barcodescanner
封裝了zxing和zbar,更加簡單的使用
https://github.com/dm77/barcodescanner

13、MVP相關
Android-CleanArchitecture
mvp架構(gòu)學習實例
https://github.com/android10/Android-CleanArchitecture

android-architecture
google推薦的學習mvp架構(gòu)的模版
https://github.com/googlesamples/android-architecture

14、緩存
DiskLruCache
Java實現(xiàn)基于LRU的磁盤緩存
https://github.com/JakeWharton/DiskLruCache

ASimpleCache
簡單緩存
https://github.com/yangfuhai/ASimpleCache

15、Log框架
Logger
簡單,漂亮,強大的Android日志工具
https://github.com/square/leakcanary

Hugo
在調(diào)試版本上注解的觸發(fā)方法進行日志記錄
https://github.com/JakeWharton/hugo

Timber
一個小的,可擴展的日志工具
https://github.com/JakeWharton/timber

16、測試框架
Mockito
Java編寫的Mocking單元測試框架
https://github.com/mockito/mockito

Robotium
Android UI 測試
https://github.com/RobotiumTech/robotium

Robolectric
Android單元測試框架
https://github.com/xtremelabs/robolectric

Android自帶很多測試工具:
JUnit,Monkeyrunner,UiAutomator,Espresso等

17、調(diào)試框架
Stetho
調(diào)試Android應用的橋梁,使得可以利用Chrome開發(fā)者工具進行調(diào)試
https://github.com/facebook/stetho

18、性能優(yōu)化
LeakCanary
內(nèi)存泄漏檢測工具,簡單、漂亮的日志打印工具
https://github.com/square/leakcanary

ACRA
Android應用程序崩潰報告
https://github.com/ACRA/acra

19、動畫
NineOldAndroids
https://github.com/JakeWharton/NineOldAndroids

SwitchLayout -
國內(nèi)開發(fā)者, Android的Activity切換動畫特效庫SwitchLayout,視圖切換動畫庫,媲美IOS。

ActivityOptionsICS
一個低版本activity動畫兼容庫——ActivityOptionsICS,可以很好的實現(xiàn)MD的動畫效果。

SwipeBack
一個可以通過手勢返回到上一個Activity的開源庫,支持上下左右四個方向返回,支持多個View為Child。

XhsWelcomeAnim
國內(nèi)開發(fā)者, 華麗酷炫歡迎引導界面 動畫沒有之一。

Material-Animations
Material風格動畫,可以定義兩個Activity之間的動畫。

更多動畫框架見:
https://github.com/Tim9Liu9/TimLiu-Android#%E5%8A%A8%E7%94%BB

20、UI
MaterialDesign
https://github.com/Templarian/MaterialDesign

awesome-android-ui
ui庫,非常多的ui及特效。

ChipsLibrary
在Android EditText中實現(xiàn)打Tag功能。

bitmapMesh
拉窗簾效果。

更多見:https://github.com/Tim9Liu9/TimLiu-Android#UI

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容