Skip to content

Commit c7e18ce

Browse files
committed
v1.1.0
2 parents 522fb6f + 3be4205 commit c7e18ce

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ You can easily load images from an internet URL, drawable, or file. And there ar
1414

1515
### Step 1
1616

17-
If you are using Android Studio, just add this line code to your project root `build.gradle`.
17+
#### Gradle
1818

1919
```groovy
2020
dependencies {
21-
compile "com.android.support:support-v4:+"
21+
compile "com.android.support:support-v4:+"
2222
compile 'com.squareup.picasso:picasso:2.3.2'
2323
compile 'com.nineoldandroids:library:2.4.0'
24-
compile 'com.daimajia.slider:library:1.0.9@aar'
24+
compile 'com.daimajia.slider:library:1.1.0@aar'
2525
}
2626
```
2727

2828

29-
If you are using maven to manage your project, add the following to your `pom.xml`:
29+
#### Maven
3030

3131
```xml
3232
<dependency>
@@ -42,11 +42,17 @@ If you are using maven to manage your project, add the following to your `pom.xm
4242
<dependency>
4343
<groupId>com.daimajia.slider</groupId>
4444
<artifactId>library</artifactId>
45-
<version>1.0.9</version>
45+
<version>1.1.0</version>
4646
<type>apklib</type>
4747
</dependency>
4848
```
4949

50+
#### Eclipse
51+
52+
For Eclipse users, I provided a sample project which orgnized as Eclipse way. You can download it from [here](https://github.com/daimajia/AndroidImageSlider/releases/download/v1.0.9/AndroidImageSlider-Eclipse.zip), and make some changes to fit your project.
53+
54+
Notice: It's the version of 1.0.9, it may not update any more. You can update manually by yourself.
55+
5056
### Step 2
5157

5258
Add permissions (if necessary) to your `AndroidManifest.xml`

library/src/main/java/com/daimajia/slider/library/SliderTypes/BaseSliderView.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ public void onClick(View v) {
189189
}
190190
});
191191

192+
if (targetImageView == null)
193+
return;
194+
192195
mLoadListener.onStart(me);
193196

194197
Picasso p = Picasso.with(mContext);

0 commit comments

Comments
 (0)