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

Pause the storyview while loading image not workinh #25

Open
slowcatz opened this issue May 31, 2019 · 5 comments
Open

Pause the storyview while loading image not workinh #25

slowcatz opened this issue May 31, 2019 · 5 comments

Comments

@slowcatz
Copy link

calling storyProgress.pause() inside onNext() doesnt behave properly.

Can't pause the progress when loading image.

Give some alternative or fix this.

@bolaware
Copy link

Here is an alternative bro https://github.com/bolaware/momentz . Has an example of how to load image from the internet, even play videos too

@tamirherman
Copy link

Try to run it in main thread, something like this:

    new Handler().post(new Runnable()
    {
        @Override
        public void run()
        {
            if(storiesProgressView != null)
                storiesProgressView.pause();
        }
    });

@hulisani-mudimeli
Copy link

@tamirherman you saved my life

@Dalairajesh
Copy link

Try to run it in main thread, something like this:

    new Handler().post(new Runnable()
    {
        @Override
        public void run()
        {
            if(storiesProgressView != null)
                storiesProgressView.pause();
        }
    });

How to play video? accrording to progressbar

@samir-gawas
Copy link

One can use view.post() to Update UI instead of handler

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

6 participants