Open slowcatz opened 5 years ago
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
Try to run it in main thread, something like this:
new Handler().post(new Runnable()
{
@Override
public void run()
{
if(storiesProgressView != null)
storiesProgressView.pause();
}
});
@tamirherman you saved my life
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
One can use view.post() to Update UI instead of handler
calling storyProgress.pause() inside onNext() doesnt behave properly.
Can't pause the progress when loading image.
Give some alternative or fix this.