android项目开发过程中 常使用的工具

来源:互联网 发布:常州新一代造价软件 编辑:程序博客网 时间:2024/04/30 09:13
在项目开发过程中,总有一些必要的工具和类库。下面就简单介绍下我常用的一些(还在用`Eclipse`的请无视)。      


1. [volley](https://android.googlesource.com/platform/frameworks/volley)                                                   
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/volley.png?raw=true)                   
在`Google I/0 2013`中发布了`Volley`.`Volley`是`Android`平台上的网络通信库,能使网络通信更快,更简单,更健壮。
这是`Volley`名称的由来:`a burst or emission of many things or a large amount at once`.`Volley`特别适合数据量不大但是通信频繁的场景。   
`Github`上面已经有大神做了镜像,使用更方便有木有。[Volley On Github](https://github.com/mcxiaoke/android-volley)                     


2. [Gson](https://code.google.com/p/google-gson/)                    
`Json`转换神器。


3. [GsonFormat](https://github.com/zzz40500/GsonFormat)               
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/GsonFormat.gif?raw=true)                 
既然用了`Gson`怎么能少了该神器呢?


4. [android-butterknife-zelezny](https://github.com/avast/android-butterknife-zelezny)         
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/zelezny_animated.gif?raw=true)      
使用[butterknife](https://github.com/JakeWharton/butterknife)制作的`Android Studio/IDEA`插件。非常方便有木有。


5. [android-selector-chapek](https://github.com/inmite/android-selector-chapek)       
`selector`写起来是不是很麻烦?以后让`UI`规范化命名,然后就没有然后了。                
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/select_folder.png?raw=true)            
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/select_option.png?raw=true)         
接下来你就会在`drawable`目录发现对应的`selector`文件。           
        
6. [leakcanary](https://github.com/square/leakcanary) 
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/screenshot.png?raw=true)       
内存泄漏你怕不怕?         

7. [fresco](https://github.com/facebook/fresco)      
怎么能少了对图片的处理呢?`Fracebook`出品。更快、更强、更方便。       


8. [android-resource-remover](https://github.com/KeepSafe/android-resource-remover)                    
    开发过程中可能会经常遇到需求的变更,时间长了,项目中的无用资源就会越来越多。 虽然在`Gradle`中支持相应的配置来去除无用资源: 
0 0