How can use this library for Favorite
Closed this issue · 1 comments
tellfa commented
Hi, thanks for this awesome library ❤️
But i have a problem, how can i use this in favorite feature?!
I want when click this button and added into favorite list, turn on button for ever for this post. and when delete post from favorite list turn off this button !
How can i it? can you send me code?
varunest commented
Thanks. :)
You can use setChecked method on SparkButton to enable or disable the state of the button.