Skip to content

Commit

Permalink
studio版新增RecyclerView的base及对应demo
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon committed Oct 4, 2017
1 parent 1b956a6 commit 7900fc8
Show file tree
Hide file tree
Showing 22 changed files with 1,601 additions and 101 deletions.
6 changes: 3 additions & 3 deletions ZBLibrary(AndroidStudio)/QRCodeLibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
compileSdkVersion 25
buildToolsVersion '25.0.1'
defaultConfig {
minSdkVersion 15
targetSdkVersion 22
Expand All @@ -20,6 +20,6 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
}
9 changes: 5 additions & 4 deletions ZBLibrary(AndroidStudio)/ZBLibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
compileSdkVersion 25
buildToolsVersion '25.0.1'
defaultConfig {
minSdkVersion 15
targetSdkVersion 22
Expand All @@ -21,11 +21,12 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile files('libs/android-support-v4.jar')
compile files('libs/fastjson-1.2.24.jar')
compile files('libs/okhttp-2.1.0.jar')
compile files('libs/okio-1.0.0.jar')
compile files('libs/universal-image-loader-1.9.4.jar')
compile 'com.android.support:support-v4:25.0.1'
compile 'com.android.support:recyclerview-v7:25.0.1'
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import zuo.biao.library.interfaces.CacheCallBack;
import zuo.biao.library.interfaces.OnStopLoadListener;
import zuo.biao.library.manager.CacheManager;
import zuo.biao.library.manager.HttpManager;
import zuo.biao.library.util.Log;
import zuo.biao.library.util.SettingUtil;
import zuo.biao.library.util.StringUtil;
Expand Down Expand Up @@ -102,7 +101,7 @@ public void setAdapter(BA adapter) {
public abstract void setList(List<T> list);

/**显示列表(已在UI线程中)
* @param callBack
* @param list
*/
public void setList(AdapterCallBack<BA> callBack) {
if (adapter == null) {
Expand Down Expand Up @@ -146,7 +145,7 @@ public void initData() {// 必须调用
public void loadData(int page) {
loadData(page, isToLoadCache);
}

/**
* 列表首页页码。有些服务器设置为1,即列表页码从1开始
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import zuo.biao.library.interfaces.CacheCallBack;
import zuo.biao.library.interfaces.OnStopLoadListener;
import zuo.biao.library.manager.CacheManager;
import zuo.biao.library.manager.HttpManager;
import zuo.biao.library.util.Log;
import zuo.biao.library.util.SettingUtil;
import zuo.biao.library.util.StringUtil;
Expand Down Expand Up @@ -169,7 +168,7 @@ public void setAdapter(BA adapter) {
public abstract void setList(List<T> list);

/**显示列表(已在UI线程中)
* @param callBack
* @param list
*/
public void setList(AdapterCallBack<BA> callBack) {
if (adapter == null) {
Expand Down Expand Up @@ -213,7 +212,7 @@ public void initData() {// 必须调用
public void loadData(int page) {
loadData(page, isToLoadCache);
}

/**
* 列表首页页码。有些服务器设置为1,即列表页码从1开始
*/
Expand Down
Loading

0 comments on commit 7900fc8

Please sign in to comment.