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

Issue while setting Current state number dynamically #2

Closed
amitsri20 opened this issue Jan 2, 2017 · 14 comments
Closed

Issue while setting Current state number dynamically #2

amitsri20 opened this issue Jan 2, 2017 · 14 comments

Comments

@amitsri20
Copy link

I am trying to set current state number dynamically but it is not showing correct result while when I set in XML file it works fine.

I have used
stateProgressBar.setCurrentStateNumber(StateProgressBar.StateNumber.TWO);

after removing app:spb_currentStateNumber="two" from XML file.

See the result below current description is showing correctly but progress line is going to opposite direction.

issue

@kofigyan
Copy link
Owner

kofigyan commented Jan 3, 2017

Hi Amit, I have tried to reproduce similar result with all possible scenarios but all work fine on multiple devices. Please can you show elaborate codes ? Are you testing in an emulator or specific device ? Does it occur after certain action e.g. screen orientation change etc ? Any extra information will be useful.

@amitsri20
Copy link
Author

Hi, I am sharing the video of my scenario.
https://drive.google.com/file/d/0B97xPWRVxZSPRzNqS3JSOFdFVTg/view?usp=sharing

As you will see in the video, it does not happen every time but if I am opening activity with status view multiple times few times I face the problem.

Please suggest.

@amitsri20
Copy link
Author

Hi,

One thing I figured out about this is that it only happens when the animation is set to true.

@kofigyan
Copy link
Owner

kofigyan commented Jan 20, 2017 via email

@kofigyan
Copy link
Owner

Hi Amit, I believe the issue is resolved now. I am adding the other feature requests by the various users to form version 0.0.2 . You can download the stateprogressbar library(or copy the classes together with the asset and values folders contents) from the master branch into your project for now and test. Your feedback will be appreciated.

@amitsri20
Copy link
Author

amitsri20 commented Jan 31, 2017 via email

@apaul10
Copy link

apaul10 commented Jan 31, 2017

Hello,

I am realizing the same issue, when using progressBar inside Listview/RecyclerView, when one item is being set, all items are being updated with the same value.

@kofigyan
Copy link
Owner

Hi @apaul10 ,
I believe the issue raised by @amitsri20 is resolved and will be available in version 0.0.2 soon. You can download the stateprogressbar library(or copy the classes together with the asset and values folders contents) from the master branch into your project for now.

@kofigyan
Copy link
Owner

kofigyan commented Feb 4, 2017

Hi @amitsri20 and @apaul10 ,
Version 0.0.2 of the library is now officially released. You can now use this version as it solves this issue.

@apaul10
Copy link

apaul10 commented Feb 5, 2017

@kofigyan Thanks much

@kofigyan
Copy link
Owner

kofigyan commented Feb 5, 2017

@apaul10 You are welcome.

@amitsri20
Copy link
Author

amitsri20 commented Feb 6, 2017 via email

@kofigyan
Copy link
Owner

kofigyan commented Feb 6, 2017 via email

@kofigyan
Copy link
Owner

kofigyan commented Feb 6, 2017

@amitsri20 l will be waiting for your immediate feedback to close this issue.

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

3 participants