diff --git a/.idea/misc.xml b/.idea/misc.xml index 0f0a584..9c39cb9 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -37,7 +37,7 @@ - + diff --git a/README.md b/README.md index e69ea63..96a3162 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ replace: in app's build.gradle,add: ``` -compile 'com.kcode.github:autoScrollViewPager:0.1.0' +compile 'com.kcode.github:autoScrollViewPager:0.7.0' ``` ##Usage diff --git a/app/build.gradle b/app/build.gradle index 008ce80..39fb81f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,7 +27,7 @@ dependencies { compile 'com.android.support:appcompat-v7:24.2.0' testCompile 'junit:junit:4.12' compile 'com.squareup.picasso:picasso:2.3.2' - compile 'com.github.fccaikai:AutoScrollViewPager:0.6.0',{ - exclude group: 'com.android.support', module:'appcompat-v7' + compile 'com.github.fccaikai:AutoScrollViewPager:0.7.0', { + exclude group: 'com.android.support', module: 'appcompat-v7' } } diff --git a/app/src/main/java/com/kcode/autoviewpager/MainActivity.java b/app/src/main/java/com/kcode/autoviewpager/MainActivity.java index 5ff41e0..b9442f6 100644 --- a/app/src/main/java/com/kcode/autoviewpager/MainActivity.java +++ b/app/src/main/java/com/kcode/autoviewpager/MainActivity.java @@ -59,7 +59,6 @@ protected void onDestroy() { @Override public void onItemClick(int position, String url) { Toast.makeText(getApplicationContext(), - url, Toast.LENGTH_SHORT).show(); } };