android技術選型(持續更新中...)

log打印

https://www.zybuluo.com/shark...java

提示性UI

toast:

Toasty : https://github.com/hss01248/T...
帶有狀態的toast,有succes.error,warn,info,normal 五種,以及debug一種(只在debug模式下彈出).android

dialog :

DialogUtil : https://github.com/hss01248/D...
囊括全部常見的通用型dialog,既有ios風格又有android風格.不須要activity引用便可彈出.
https://github.com/saiwu-bigk... ios風格的dialogios

notification

NotifyUtil: https://github.com/hss01248/N...
api鏈式調用,擺脫原生的難用的api.封裝了經常使用的通知模式.git

必用的UI小組件

選擇器:

https://github.com/Bigkoo/And...github

內置時間日期選擇器,UI自定義配置很豐富
還有三級,二級,一級聯動選擇器數據庫

https://github.com/gzu-liyuji...api

各類豐富的內置選擇器:
包括日期選擇器、時間選擇器、單項選擇器、城市地址選擇器、車牌號選擇器、數字選擇器、星座選擇器、生肖選擇器、顏色選擇器、文件選擇器、目錄選擇器等瀏覽器

https://github.com/yangxu4536...
仿美團城市選擇界面,可直接用在實際項目中緩存

https://github.com/Bigkoo/Eas...
一款按字母排序庫,已封裝好城市數據,風格仿美團,可定製化強。網絡

多條件篩選菜單

https://github.com/dongjunkun...
相似美團,愛奇藝電影票下拉菜單

優惠券效果

https://github.com/dongjunkun...

輪播圖

https://github.com/glassLake/... 第一次進入有快速滾動兩張的bug

https://github.com/saiwu-bigk...

https://github.com/youth52013...
多種模式 Android廣告圖片輪播控件,支持無限循環和多種主題,能夠靈活設置輪播樣式、動畫、輪播和切換時間、位置、圖片加載框架等!

快速分組側邊欄

https://github.com/saiwu-bigk...
https://github.com/CaMnter/Ea...
https://github.com/gjiazhe/Wa...

給圖片打標籤

https://github.com/saiwu-bigk...

滾動刻度尺

https://github.com/LichFaker/...

加減號控制數字增減

https://github.com/saiwu-bigk...

狀態欄變色

毫無疑問是這個:
https://github.com/jgilfelt/S...
api封裝一下,簡化使用:
StatusbarUtil.java

網絡請求

okhttp + chuck
對okhttp的封裝:
https://github.com/hss01248/H... :我花最多精力維護的一個庫,使用時爽得飛起.

https://github.com/jeasonlzy/... 這個不少人用.

https://github.com/jgilfelt/c... 經過攔截器的方式拿到請求和響應信息,而後顯示在一個單獨的activity中算是應用內抓包

文件下載

https://github.com/lingochamp...
專一於文件下載,各類高級特性.適用於對文件下載業務要求較高的項目

3 數據庫

greendao太難用,仍是ormlite好.
https://github.com/j256/ormli...

數據庫調試方式:
無需root.在瀏覽器端經過http請求的方式直接查看和操做數據庫,方便快捷
https://github.com/amitshekha...

4 圖片加載

包括普通圖片加載和大圖加載,以及大圖輪播,以及圖片的一些特殊效果,好比圓角,圓形,高斯模糊等等.
https://github.com/hss01248/I...
此庫基於glide和fresco封裝,實現了圖片的常見特殊效果.
優化了sumsamplingImageView的大圖輪播,使輪播時內存佔用也一直維持在20M的水平.
配置所有鏈式api調用

本地圖片選擇,裁剪,壓縮

系統intent被國產rom搞得不能用,各類兼容性bug,必須用框架
https://github.com/hss01248/P... 用鏈式api串起幾個優秀的開源庫,從而串起了整個流程.

https://github.com/crazycodeb... 這個star不少,也是將整個流程串起來了

頁面狀態管理

https://github.com/hss01248/P...

工具類庫

這個也沒有疑問,就是這個高大全的庫了:
https://github.com/Blankj/And...

Rx全家桶

爲何沒有retrofit? 由於它的api太難用了啊.設計很優美,可是使用起來坑太多,又繁瑣.

RxAndroid

讓你隨意地切換線程

RxBinding

今後擺脫頻繁點擊致使的重複操做的煩惱

RxLifecycle

生命週期管理,減小內存泄漏

RxPermissions

6.0運行時權限

Rx Preferences

經過 RxJava 的方式來訪問 SharedPreferences

鍵盤監聽

鍵盤監聽是android一大坑.

防止自動彈出鍵盤:
activity 標籤里加android:windowSoftInputMode="stateHidden|stateAlwaysHidden"

https://github.com/yshrsmz/Ke...

視頻播放

https://github.com/jjdxmashl/...
基於ijkplayer項目進行的播放器界面UI封裝

屏幕適配

https://github.com/hongyangAn...

UI特效

水波紋效果

https://github.com/traex/Ripp... 兼容到api9

動畫

https://github.com/florent37/...
A fluent Android animation library

換皮膚主題

https://github.com/hongyangAn...

文件和緩存相關

https://github.com/vincentbri...
This android library provide a cache with 2 layers, one in RAM in top of one disk.

https://github.com/baoyongzha...
Very easy to use wrapper library for Android SharePreferences

content-provider

https://github.com/Everything...

原生組件的替換

edittext

https://github.com/rengwuxian...

viewpager

https://github.com/Devlight/I...

listview和recycleview

https://github.com/CymChad/Ba...

相關文章
相關標籤/搜索