Skip to content
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

Does not work with data binding #32

Open
slavasav opened this issue Nov 2, 2017 · 0 comments
Open

Does not work with data binding #32

slavasav opened this issue Nov 2, 2017 · 0 comments

Comments

@slavasav
Copy link

slavasav commented Nov 2, 2017

Xml:
<io.techery.properratingbar.ProperRatingBar
android:id="@+id/rating"
style="@style/Rating"
app:prb_defaultRating="@{model.rating}"
android:layout_height="wrap_content"
android:layout_width="wrap_content" />
Error: Cannot find the setter for attribute 'app:prb_defaultRating' with parameter type java.lang.Integer on io.techery.properratingbar.ProperRatingBar.

This works:
<io.techery.properratingbar.ProperRatingBar
android:id="@+id/rating"
style="@style/Rating"
app:prb_defaultRating="2"
android:layout_height="wrap_content"
android:layout_width="wrap_content" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant