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

Update the current variable before onNext on onPrev callback #18

Open
HaXxanParhar opened this issue Oct 4, 2022 · 0 comments
Open

Comments

@HaXxanParhar
Copy link

HaXxanParhar commented Oct 4, 2022

In Stories Progress View class, in the onFinishProgress move the onNext() and onPrev() callbacks after the start progress. We know Start progress is updating the current variable, so in the onNext callback the progressView object will have the old current (not the updated one). I'm loading images from the internet in the onNext and I want to pause the progessView until image is fully loaded. Here the problem is progressView is pointing to the old current value so I can't pause the progressView for the next (or previous) image. Right now I'm going to clone the repository and make these changes in it, I don't know how to contribute to your library. But once you've made the above-mentioned changes, I'll switch back. Thanks

image

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