IllegalArgumentException: indicators wasn't setup yet.
davidkrauser opened this issue · 3 comments
davidkrauser commented
I get the following error whenever I try to use this library:
IllegalArgumentException: indicators wasn't setup yet. Make sure the indicators are initialized and setup correctly before trying to compute the click area for each step!
It looks like compute()
calls computeStepsClickAreas()
, which depends on a valid array of indicators
; however, the indicators
array isn't initialized until after the call to computeStepsClickAreas()
.
Or am I using the library incorrectly? This is against v1.0.4
davidkrauser commented
It looks like this may be fixed in the master branch. Any plans to cut a new version soon?
badoualy commented
I'll release a new version tomorrow, until then you should be able to use it with the latest commit hash
compile 'com.github.badoualy:stepper-indicator:3675b4dd8e'
davidkrauser commented
Sounds good, thanks :-)