权限:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
依赖:
compile 'com.android.support:design:26+' tabLayout的依赖
compile 'com.google.code.gson:gson:2.8.2' gson的依赖
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' ImageLoader的依赖
compile 'com.android.support:support-v4:23.3.0'
compile 'com.github.userswlwork:pull-to-refresh:1.0.0' pulltoRefresh的依赖
compile 'com.squareup.okio:okio:1.5.0'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
compile 'com.jcodecraeer:xrecyclerview:1.2.7'
compile 'com.android.support:recyclerview-v7:25.0.1'
compile 'com.hjm:BottomTabBar:1.1.1'
compile 'cn.yipianfengye.android:zxing-library:2.2'
compile 'com.youth.banner:banner:1.1.5'
butterknife的依赖:
compile ‘com.jakewharton:butterknife:8.8.1’
annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1’