GitHub上最火的Android开源项目,所有开源项目都有详细资料和配套视频
https://github.com/open-android/Android
RxJava 与 Retrofit 结合的最佳实践
[http://gank.io/post/56e80c2c677659311bed9841]
(http://gank.io/post/56e80c2c677659311bed9841)
Retrofit+RxJava 完美封装
[http://www.jianshu.com/p/17e3e3102c1f]
(http://www.jianshu.com/p/17e3e3102c1f)
//网络权限
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
基本配置
compile 'com.github.lzyzsd:jsbridge:1.0.4'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.android.support:support-v4:23.+'
compile 'com.android.support:recyclerview-v7:23.+'
compile 'com.android.support:support-annotations:23.+'
compile 'com.android.support:design:23.+'
compile 'com.android.support:cardview-v7:23.+'
compile 'com.android.support:appcompat-v7:23.+'
//retrofit和rxjava
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta3'
compile 'com.squareup.okhttp3:logging-interceptor:3.1.2'
compile 'io.reactivex:rxjava:1.0.1'
compile 'io.reactivex:rxandroid:1.0.1'
compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'
compile 'com.squareup.retrofit2:adapter-rxjava:2.0.0-beta4'
compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.0.8@aar'//菜单栏
compile 'com.android.support:multidex:1.0.0'//分包
compile 'com.alibaba:fastjson:1.2.8'//json解析封装框架
compile 'com.commit451:PhotoView:1.2.4'//图片缩放
compile 'com.orhanobut:logger:1.13'//打印日志
compile 'com.github.bumptech.glide:glide:3.6.1'//显示图片框架
compile 'com.jakewharton:butterknife:7.0.1'//view注解
compile 'com.github.clans:fab:1.6.4'//悬浮动画菜单
compile 'cn.hugeterry.updatefun:updatefun:1.8.6'//fire.im自动更新
compile 'com.umeng.analytics:analytics:latest.integration'//友盟统计
//compile 'com.zhy:okhttputils:2.6.2'
//compile 'com.jakewharton:butterknife:7.0.1'//view注解
//compile 'com.google.code.gson:gson:2.5'
//compile 'com.github.bumptech.glide:glide:3.6.1'