Skip to content

Commit

Permalink
Call init() inside setConfiguration()
Browse files Browse the repository at this point in the history
  • Loading branch information
varunest committed Mar 12, 2021
1 parent 66e2c19 commit 448b709
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
/captures
.idea/*
.externalNativeBuild
app/.idea/
app/local.properties
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ and then add dependency

```groovy
dependencies {
implementation 'com.github.varunest:TheGlowingLoader:1.0.5'
implementation 'com.github.varunest:TheGlowingLoader:1.0.6'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private void getStuffFromXML(AttributeSet attrs) {

public void setConfiguration(Configuration configuration) {
this.configuration = configuration;
init();
}

private void init() {
Expand Down

0 comments on commit 448b709

Please sign in to comment.