说明:有关这些第三方库的最新依赖,可以自己到GitHub上去搜索,添加相应版本即可:
OkHttp:一个处理网络请求的开源项目,是安卓端最火热的轻量级网络框架,由Square公司贡献
简介:用于替代HttpUrlConnection和Apache HttpClient(android API23 6.0里已移除HttpClient,现在已经打不出来)
implementation 'com.squareup.okhttp3:okhttp:3.9.1'
OKGO:一个基于okhttp的标准RESTful风格的网络框架
简介:该库是基于 Http 协议,封装了 OkHttp 的网络请求框架,支持 RxJava,RxJava2,支持自定义缓存,支持批量断点下载管理和批量上传管理功能
compile 'com.lzy.net:okgo:3.0.4'
CircleImageView:A fast circular ImageView perfect for profile images. (一个快速完美的圆形ImageView)
简介:圆形用户头像使用很多的一个自定义快速圆形ImageView,非常实用
compile 'de.hdodenhof:circleimageview:2.2.0'
RxJava:RxJava 在 GitHub 主页上的自我介绍是 “a library for composing asynchronous and event-based programs using observable sequences for the Java VM”
简介:一个在 Java VM 上使用可观测的序列来组成异步的、基于事件的程序的库。
compile 'io.reactivex.rxjava2:rxjava:2.x.y'
GSON:Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.
简介:Gson是一个Java库,可以用来将Java对象转换成他们的JSON表示。它还可以用于将一个JSON字符串转换为一个等价的Java对象。Gson可以使用任意的Java对象,包括那些你没有源代码的预先存在的对象。
compile 'com.google.code.gson:gson:2.8.2'
material:MaterialLibrary is an Open Source Android library that back-port Material Design components to pre-Lolipop Android.
简介:material是一个很有用的开源库,它提供了很多的自定义控件,效果非常好看。
compile 'com.github.rey5137:material:1.2.4'
LitePal:LitePal is an open source Android library that allows developers to use SQLite database extremely easy. You can finish most of the database operations without writing even a SQL statement, including create or upgrade tables, crud operations, aggregate functions, etc. The setup of LitePal is quite simple as well.
简介:LitePal郭神力荐,一款非常方便的SQLite框架,采用了对象关系映射(ORM)的模式,将平时开发时最常用的一些数据库功能进行了封装,使得开发者不用编写一行SQL语句就可以完成各种建表、増删改查的操作。并且LitePal很“轻”,jar包大小不到100k,而且近乎零配置。
compile 'org.litepal.android:core:1.6.1''