Skip to content

Commit af8c635

Browse files
committed
Released v1.2.3
1 parent 2d015a7 commit af8c635

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ allprojects{
1717
```
1818
dependencies {
1919
...
20-
implementation 'com.github.amitjangid80:multiutillib:v1.2.2'
20+
implementation 'com.github.amitjangid80:multiutillib:v1.2.3'
2121
}
2222
```
2323

@@ -35,7 +35,7 @@ dependencies {
3535
<dependency>
3636
<groupId>com.github.amitjangid80</groupId>
3737
<artifactId>multiutillib</artifactId>
38-
version>v1.2.2</version>
38+
version>v1.2.3</version>
3939
dependency>
4040
```
4141

app/src/main/java/com/amit/ui/ProgressImgBtn.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ private void init(Context context, AttributeSet attrs, int defStyleAttr, int def
114114
{
115115
mParams = new Params();
116116
mParams.progressBarPadding = 0f;
117-
ProgressBtn.BackgroundAndMorphingDrawables drawables;
117+
CircularProgressButton.BackgroundAndMorphingDrawables drawables;
118118

119119
if (attrs == null)
120120
{
121-
drawables = ProgressBtn.loadGradientDrawable(Utils.getDrawable(getContext(), R.drawable.default_btn_shape));
121+
drawables = CircularProgressButton.loadGradientDrawable(Utils.getDrawable(getContext(), R.drawable.default_btn_shape));
122122
}
123123
else
124124
{
@@ -128,7 +128,7 @@ private void init(Context context, AttributeSet attrs, int defStyleAttr, int def
128128

129129
TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.ProgressBtn, defStyleAttr, defStyleRes);
130130
TypedArray taBg = context.obtainStyledAttributes(attrs, attrsArray, defStyleAttr, defStyleRes);
131-
drawables = ProgressBtn.loadGradientDrawable(taBg.getDrawable(0));
131+
drawables = CircularProgressButton.loadGradientDrawable(taBg.getDrawable(0));
132132

133133
mParams.initialCornerRadius = ta.getDimension(R.styleable.ProgressBtn_initialCornerRadius, 0);
134134
mParams.finalCornerRadius = ta.getDimension(R.styleable.ProgressBtn_finalCornerRadius, 100);

app/src/main/java/com/amit/utilities/UtilsKt.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import android.content.Context
44
import android.graphics.drawable.Drawable
55
import android.os.Build
66

7-
public class UtilsKt
7+
class UtilsKt
88
{
99
@Suppress("deprecation")
1010
companion object

0 commit comments

Comments
 (0)