From 448b7092bcbc06194c7f28cd826977fcde634dd1 Mon Sep 17 00:00:00 2001 From: Varun Date: Fri, 12 Mar 2021 15:11:17 +0530 Subject: [PATCH] Call init() inside setConfiguration() --- .gitignore | 2 ++ README.md | 2 +- .../src/main/java/com/varunest/loader/TheGlowingLoader.java | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4ebadf3..3cbf76b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ /captures .idea/* .externalNativeBuild +app/.idea/ +app/local.properties diff --git a/README.md b/README.md index 35fec9b..040c0c3 100644 --- a/README.md +++ b/README.md @@ -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' } ``` diff --git a/theglowingloader/src/main/java/com/varunest/loader/TheGlowingLoader.java b/theglowingloader/src/main/java/com/varunest/loader/TheGlowingLoader.java index bf883e1..d8d9079 100644 --- a/theglowingloader/src/main/java/com/varunest/loader/TheGlowingLoader.java +++ b/theglowingloader/src/main/java/com/varunest/loader/TheGlowingLoader.java @@ -62,6 +62,7 @@ private void getStuffFromXML(AttributeSet attrs) { public void setConfiguration(Configuration configuration) { this.configuration = configuration; + init(); } private void init() {