转: Android入门及效率开发

时间:2022-01-13 23:42:14

评注: android第三方开源框架介绍不错

转:https://segmentfault.com/a/1190000004495351

入门

Android官方培训课程中文版:http://hukai.me/android-training-course-in-chinese/index.html

Android设计指南非官方中文版:http://www.apkbus.com/design/index.html

对应google官方(自备*):
training:http://developer.android.com/training/index.html
design:http://developer.android.com/design/index.html
api:http://developer.android.com/guide/index.html

项目建立

一个优秀的Android应用从建项目开始

功能模块

网络请求

okhttpvolleyandroid-async-http

okhttp-utils:https://github.com/hongyangAndroid/okhttp-utils
Android 一个改善的okHttp封装库

NoHttp:https://github.com/Y0LANDA/NoHttp
NoHttp简介 相关置顶文章

retrofit:https://github.com/square/retrofit

网络请求的封装库,推荐如上两个,诸如其他volley,Async-Http,okhttp,
可以看这篇文章:NoHttp, OkHttp, Volley, Async-Http, xUtil, HttpClient, HttpURLConnection的比较

图片加载

Fresco:https://github.com/facebook/fresco

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

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

数据库读写

greenDao:https://github.com/greenrobot/greenDAO

ormlite:https://github.com/j256/ormlite-android

LitePal:https://github.com/LitePalFramework/LitePal

sqlbrite:https://github.com/square/sqlbrite

JSON解析

fastjson:https://github.com/alibaba/fastjson

gson:https://github.com/google/gson

jackson:https://github.com/FasterXML/jackson

事件总线

otto:https://github.com/square/otto

EventBus:https://github.com/greenrobot/EventBus
EventBus使用详解
Android EventBus源码解析 带你深入理解EventBus

我们不推荐使用事件总线这种模式,如果你对代码中n多的interface或者thread,handler的模式感觉繁琐,
可以了解下面的响应式编程。

响应式编程

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

RxAndroid:https://github.com/ReactiveX/RxAndroid

Rx函数响应式编程中文文档

依赖注入

Dagger:https://github.com/square/dagger

RoboGuice:https://github.com/roboguice/roboguice

ButterKnife:https://github.com/JakeWharton/butterknife
配套插件android-butterknife-zelezny

日志输出

logger:https://github.com/orhanobut/logger

android-CLog:https://github.com/liaohuqiu/android-CLog

KLog:https://github.com/ZhaoKaiQiang/KLog

lambda表达式

Android的lambda表达式插件:https://github.com/evant/gradle-retrolambda

开源项目汇总

http://www.jcodecraeer.com/plus/list.php?tid=31

https://github.com/Trinea/android-open-project

http://p.codekk.com/