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

set progress in data binding #49

Open
hossein-no1 opened this issue Aug 21, 2020 · 0 comments
Open

set progress in data binding #49

hossein-no1 opened this issue Aug 21, 2020 · 0 comments

Comments

@hossein-no1
Copy link

hi.
i don't set progress in xml with data binding??
please help me!

<com.mikhaellopez.circularprogressbar.CircularProgressBar android:id="@+id/pb_improvement_fragmentStateProfile" android:layout_width="wrap_content" android:layout_height="0dp" android:scrollbarFadeDuration="1000" app:cpb_background_progressbar_color="@color/shadowOrange" app:cpb_background_progressbar_width="5dp" app:cpb_progress="@{data.improvementPercent}" app:cpb_progress_direction="to_right" app:cpb_progressbar_color="@color/orange" app:cpb_progressbar_width="5dp" app:cpb_round_border="false" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" />

i try by any type of variable(int,float,...),but not working

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