Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
can make a method getIamgeView for squareprogressbar? #34
Thank you very much for the feedback. I just looked at it in detail and I can give you two different solutions for the problem.
Workaround with the current version
I checked with the Android-Universal-Image-Loader library and there is actually a working example on the repository page. You could use the following code to set the loaded image to the SquareProgressBar:
So this works perfectly with the current code. But I also see your point, because it would be way easier if the SquareProgressBar could return the ImageView directly.
Getter on the SquareProgressBar (not yet implemented)
To use the one-line solution provided by the Android-Universal-Image-Loader library, you need the ImageView directly:
To make this possible I will include a getter method on the SquareProgressBar class which returns the ImageView. This will be included in the 1.6.0 update which is going live next week.
Is this okay so far? I will push the change to the develop-branch and include it in the next version.