Skip to content

Commit db89814

Browse files
committed
Prepare for the next release
1 parent ceb3781 commit db89814

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ allprojects {
4646
Next, add the below dependency to your **module**'s `build.gradle` file.
4747
```gradle
4848
dependencies {
49-
implementation "io.getstream:avatarview-coil:1.0.3"
49+
implementation "io.getstream:avatarview-coil:1.0.4"
5050
}
5151
```
5252

5353
> **Note:** The `io.getstream.avatarview-coil` dependency includes [Coil](https://github.com/coil-kt/coil) to load images internally. So if you're using Coil in your project, please make sure your project is using the same Coil version or exclude Coil dependencies to adapt yours.
5454
5555
We highly recommend using **AvatarView-Coil** to load images. However, if you'd more prefer to use [Glide](https://github.com/bumptech/glide), you can use [AvatarView-Glide](/avatarview-glide/README.md) instead.
5656

57-
## SNAPSHOT
57+
## SNAPSHOT
5858

5959
<details>
6060
<summary>See how to import the snapshot</summary>
@@ -72,8 +72,8 @@ repositories {
7272
Next, add the below dependency to your **module**'s `build.gradle` file.
7373
```gradle
7474
dependencies {
75-
implementation "io.getstream:avatarview-coil:1.0.3-SNAPSHOT"
76-
implementation "io.getstream:avatarview-glide:1.0.3-SNAPSHOT"
75+
implementation "io.getstream:avatarview-coil:1.0.5-SNAPSHOT"
76+
implementation "io.getstream:avatarview-glide:1.0.5-SNAPSHOT"
7777
}
7878
```
7979

@@ -89,7 +89,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto"
8989

9090
### **AvatarView** in XML layout
9191

92-
You can customize `AvatarView` in your XML layout by setting attributes.
92+
You can customize `AvatarView` in your XML layout by setting attributes.
9393

9494
```gradle
9595
<io.getstream.avatarview.AvatarView
@@ -138,7 +138,7 @@ avatarView.loadImage(
138138

139139
```kotlin
140140
avatarView.loadImage(
141-
data = listof(url1, url2, url3, url4)
141+
data = listof(url1, url2, url3, url4)
142142
)
143143
```
144144

@@ -218,7 +218,7 @@ Also, you can make a gradient for the border with an `avatarViewIndicatorBorderC
218218
<item>@color/yellow</item>
219219
<item>@color/chartreuse</item>
220220
<item>@color/green</item>
221-
</array>
221+
</array>
222222
```
223223

224224
Next, apply the color array with the `avatarViewBorderColorArray` attribute instread of the `avatarViewBorderColor` as in the below example:
@@ -255,7 +255,7 @@ You can set the shape as a rounded rect by setting the `avatarViewShape` attribu
255255
<io.getstream.avatarview.AvatarView
256256
android:layout_width="110dp"
257257
android:layout_height="110dp"
258-
app:avatarViewShape="rounded_rect"
258+
app:avatarViewShape="rounded_rect"
259259
app:avatarViewBorderRadius="21dp"
260260
/>
261261
```

buildSrc/src/main/kotlin/io/getstream/avatarview/Configuration.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ object Configuration {
66
const val minSdk = 21
77
const val majorVersion = 1
88
const val minorVersion = 0
9-
const val patchVersion = 3
9+
const val patchVersion = 4
1010
const val versionName = "$majorVersion.$minorVersion.$patchVersion"
11-
const val versionCode = 4
11+
const val versionCode = 5
1212
const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-SNAPSHOT"
1313
const val artifactGroup = "io.getstream"
1414
}

0 commit comments

Comments
 (0)