New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DecorativeView #6
Comments
Hey, the question isn’t dumb at all. Unfortunately, there is no way of simply updating decoration views once they are set. You could try to Invalide/initialize a new collection view layout and assign it to your collection view (this would mean that everything gets redrawn) anytime you want to change the decoration view. But I am not sure if this works properly. Hope this helps. Best regards |
Thanks for you answer, actually I based my solution on : https://stackoverflow.com/a/39218108 . |
That looks interesting. Thanks for the hint. |
I'm pretty sure this is a dumb question, but is there a way to update/set the label into a decorative view programmatically ?
I didn't find any example about it in the project and I don't understand how I may access to the label in order to change "Revenue" by something else
Thanks in advance
The text was updated successfully, but these errors were encountered: