Android系統、Application相關
線程
數據庫
ExtendedCursor 對Cursor的封裝類,而且Wraps a cursor to add an additional column with the same value for all rows
SQLiteContentProvider extends
ContentProvider implements
SQLiteTransactionListener。General purpose android.content.ContentProvider base class that uses SQLiteDatabase for storage.
greenDao
文件 / IO
文件
FileUtils 讀取某個文件內容、將某個文本寫入到指定文件、文件移動、文件拷貝、獲取文件擴展名、獲取URL擴展名、獲取文件名、獲取文件大小、建立文件夾以及父文件夾。。。
DataCleanManager 本應用數據清除管理器。主要功能有清除內/外緩存,清除數據庫,清除sharedPreference,清除files和清除自定義目錄
IO
IOUtils IO操做工具類,包含經常使用的文件複製/字符串/數組/列表/數據流讀寫方法,每一個方法都包含不一樣參數的多個重載的版本
ByteArrayOutputStream This class implements an output stream in which the data is written into a byte array. The buffer automatically grows as data is written to it.
BoundedInputStream This is a stream that will only supply bytes up to a certain length - if its position goes above that, it will stop.
StringBuilderWriter extends Writer implements Serializable。This implementation, as an alternative to java.io.StringWriter , provides an
un-synchronized (i.e. for use in a single thread) implementation for better performance. For safe usage with multiple Threads then java.io.StringWriter should be used.
ProxyInputStream 繼承自
FilterInputStream。A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't change which methods are being called.
CountingInputStream 繼承自
ProxyInputStream 。A decorating input stream that counts the number of bytes that have passed through the stream so far.
|
ProxyOutputStream 繼承自FilterOutputStream 。A Proxy stream which acts as expected, that is it passes the method calls on to the proxied stream and doesn't change which methods are being called. It is an alternative base class to FilterOutputStream to increase reusability.
CountingOutputStream 繼承自ProxyOutputStream ,A decorating output stream that counts the number of bytes that have passed through the stream so far
|
集合相關
函數操做符:
文檔 (對集合進行:合併多個數據集 (concat/merge)、取最大最小值 (max/min)、數據項去重 (distinct/unique)、過濾掉不符合條件的 (filter)、是否全部項都知足條件 (all)、是否存在一項知足條件 (any)、遍歷數據集 (foreach)、壓縮數據集 (zip)、摺疊操做 (reduce/fold)、普通映射操做 (map)、平坦映射操做 (flatMap/flatten))
WeakFastHashMap 一個高性能的WeakHashMap實現,默認讀寫均同步;在大量讀操做時能夠手動開啓快速模式,快速模式讀不一樣步,寫同步
字符串
JAVA特性
反射
其餘
UI工具類
顯示
ViewUtils View相關的幾個工具方法,例如getScreenRawSize/getActionBarHeightInDp/getResourceValue等
ViewFinder findViewById 替代工具類。Helper for finding and tweaking a view's children
動畫
圖片
ImageType determine image width, height and color depth for a number of image file formats.
BitmapUtils Bitmap工具類 drawable bitmap互轉、獲取圖片在相冊中的方向、Bitmap比例縮放、圓形Bitmap、Bitmap縮略圖、Bitmap保存到指定路徑。。。
顏色 / 字體
經常使用UI控件
提示
image
CircularImageView Custom ImageView for circular images in Android while maintaining thebest draw performance and supporting custom borders & selectors
list
UltimateListview UltimateListView which can pull to refresh using the SwipeRefreshLayout and load more
無限加載列表 : 封裝 RecyclerView ,用於支持滾動到底部時自動加載數據和顯示正在加載
代碼文件夾
說明文檔
其餘/綜合
AutofitTextView A TextView that resizes it's text to be no larger than the width of the view
傳感器
位置
LastLocationFinder this class let's you find the "best" (most accurate and timely) previously detected location using whatever providers are available.用於快速獲取上次定位位置
聲音
震動
功能模塊
分享
調試與檢查相關
crash
log
流量
性能
ViewServer enable the use of
HierarchyViewer inside an application. HierarchyViewer is an Android SDK tool that can be used to inspect and debug the user interface of running applications.
check
Preconditions Static convenience methods that help a method or constructor check whether it was invoked correctly
整理by Doing