diff --git a/LRecyclerview_library/LRecyclerview_library.iml b/LRecyclerview_library/LRecyclerview_library.iml index 8b1fdab..39625de 100644 --- a/LRecyclerview_library/LRecyclerview_library.iml +++ b/LRecyclerview_library/LRecyclerview_library.iml @@ -96,18 +96,18 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + \ No newline at end of file diff --git a/LRecyclerview_library/build.gradle b/LRecyclerview_library/build.gradle index b1edc97..be248d0 100644 --- a/LRecyclerview_library/build.gradle +++ b/LRecyclerview_library/build.gradle @@ -22,9 +22,9 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:25.3.0' - compile 'com.android.support:recyclerview-v7:25.3.0' - compile 'com.android.support:design:25.3.0' + compile 'com.android.support:appcompat-v7:25.3.1' + compile 'com.android.support:recyclerview-v7:25.3.1' + compile 'com.android.support:design:25.3.1' } diff --git a/app/app.iml b/app/app.iml index d7b5d36..8e05e93 100644 --- a/app/app.iml +++ b/app/app.iml @@ -98,24 +98,24 @@ - - + + + - - + + - - - + + - - - - - - + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/lzx/demo/ui/EndlessLinearLayoutActivity.java b/app/src/main/java/com/lzx/demo/ui/EndlessLinearLayoutActivity.java index f0c6040..3a99bd8 100644 --- a/app/src/main/java/com/lzx/demo/ui/EndlessLinearLayoutActivity.java +++ b/app/src/main/java/com/lzx/demo/ui/EndlessLinearLayoutActivity.java @@ -250,7 +250,7 @@ public void run() { } //模拟一下网络请求失败的情况 - if(NetworkUtils.isNetAvailable(EndlessLinearLayoutActivity.this)) { + if(NetworkUtils.isNetAvailable(getApplicationContext())) { mHandler.sendEmptyMessage(-1); } else { mHandler.sendEmptyMessage(-3);