[转] Android Libraries

原文地址:

https://dzone.com/articles/android-libraries-that-can-clean-up-your-code

http://www.iteye.com/news/32065

1.ButterKnife

http://jakewharton.github.io/butterknife/

BindAndroidviewsandcallbackstofieldsandmethods.

2.IcePick

https://github.com/frankiesardo/icepick

用于简化保存和恢复实例状态的生命周期。

IcepickisanAndroidlibrarythateliminatestheboilerplateofsavingandrestoringinstancestate.

3.Dart和Henson

https://github.com/f2prateek/dart

Extras"injection"libraryforAndroid.

4.Parceler

http://parceler.org/

AndroidParcelablesmadeeasythroughcodegeneration.

5.Timber

https://github.com/JakeWharton/timber

Aloggerwithasmall,extensibleAPIwhichprovidesutilityontopofAndroid'snormalLogclass.

6.Dagger2

https://github.com/google/dagger

AfastdependencyinjectorforAndroidandJava.

7.Retrofit

http://square.github.io/retrofit/

Atype-safeHTTPclientforAndroidandJava

8.Realm

https://github.com/realm/realm-java

Realmisamobiledatabase:areplacementforSQLite&ORMs

9.OkHttp

http://square.github.io/okhttp/

AnHTTP&HTTP/2clientforAndroidandJavaapplications

10.Lottie

https://github.com/airbnb/lottie-android

RenderAfterEffectsanimationsnativelyonAndroidandiOS