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
Add databinding support #20
Comments
This is a good point, both ViewBinding and data binding would be interesting things to support. Have to figure out how to do this without breaking the existing APIs too much, or making the XML resource based solution too manual to use. |
Awesome! 👍 |
Made this nicer in 1.2.0 |
That's amazing @zsmb13! A million thanks for the update! 🔝 |
It's working fine on 1.2.0. Closing the issue. 😄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Márton,
First of all congratulations for your library, it is just a masterpiece that can save hundreds of hours to the community.
I'd like to suggest you to support in some way databinding on
RainbowCakeFragment
. I'm using your library on some projects and I think It could be interesting to support this pattern.I've solved it doing that on my project:
As you can see it simplifies a lot the code on the Fragment side, moving the logic to the XML file. Maybe you can find a better way of allowing this on next versions of the library without having to override
getViewResource()
method.The text was updated successfully, but these errors were encountered: