Open Rishabh-sx opened 6 years ago
I also have this issue
On Wed, 20 Jun 2018 at 6:07 pm, Rishabh Saxena notifications@github.com wrote:
All Story progressbar starts showing progress on different touch and pause play action on the screen. Can you please check it. [image: screenshot_2018-06-20-13-35-28-819_jp shts android storyprogressbar 1] https://user-images.githubusercontent.com/18081678/41645574-00f380b6-748f-11e8-9f1b-b474b33962c2.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shts/StoriesProgressView/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AIgngoKhX3Pa1z92Pz2E_FTarGp3NbJxks5t-gKmgaJpZM4Uuy5I .
-- Regards Brandon Stillitano Project Manager 0401 007 904 <javascript:void(0);>
@shts , Can you please check this ?
@Xenero did you find any way to implement this ?
Nope. Still waiting on the publisher to release a fix or atleast a response. Would be good to see this maintained.
On Thu, 21 Jun 2018 at 7:07 pm, Rishabh Saxena notifications@github.com wrote:
@Xenero https://github.com/Xenero did you find any way to implement this ?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/shts/StoriesProgressView/issues/11#issuecomment-399031506, or mute the thread https://github.com/notifications/unsubscribe-auth/AIgngv9XVZfGINAIVBF0k4d2STYQuOI0ks5t-2JggaJpZM4Uuy5I .
-- Regards Brandon Stillitano Project Manager 0401 007 904 <javascript:void(0);>
@Rishabh-sx Please show me your code?
If need be I can also publish my code as I get the same issue.
On Fri, 22 Jun 2018 at 12:14 am, Shota Saito notifications@github.com wrote:
@Rishabh-sx https://github.com/Rishabh-sx Please show me your code?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/shts/StoriesProgressView/issues/11#issuecomment-399118509, or mute the thread https://github.com/notifications/unsubscribe-auth/AIgngmpSoUZJcX-X4warXEJjH0P_pMsVks5t-6pKgaJpZM4Uuy5I .
-- Regards Brandon Stillitano Project Manager 0401 007 904 <javascript:void(0);>
I have the same issue...
The code is simple:
storiesProgressView = (StoriesProgressView) findViewById(R.id.stories); storiesProgressView.setStoriesCount(5); // <- set stories storiesProgressView.setStoryDuration(10000L); // <- set a story duration storiesProgressView.setStoriesListener(this); // <- set listener storiesProgressView.startStories(); // <- start progress storiesProgressView.pause(); <- HERE IS THE PROBLEM
I test in two emulators:
The first with Android 7 not problem. The second With Android 8 HERE IS THE PROBLEM... MAYBE only happen in android 8
My implementation is much more complex however still getting issues upon calling pause.
My suggestion to the author is to include a method inside the rewind/reverse method to clear all progress for any segments that are further than the point being reversed to.
On Sat, 23 Jun 2018 at 11:54 am, Jose Jimenez notifications@github.com wrote:
I have the same issue...
The code is simple:
storiesProgressView = (StoriesProgressView) findViewById(R.id.stories); storiesProgressView.setStoriesCount(5); // <- set stories storiesProgressView.setStoryDuration(10000L); // <- set a story duration storiesProgressView.setStoriesListener(this); // <- set listener storiesProgressView.startStories(); // <- start progress storiesProgressView.pause(); <- HERE IS THE PROBLEM
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/shts/StoriesProgressView/issues/11#issuecomment-399622102, or mute the thread https://github.com/notifications/unsubscribe-auth/AIgngr8CF6BD22kNbV40ttjzSrpxq937ks5t_Z_YgaJpZM4Uuy5I .
-- Regards Brandon Stillitano Project Manager 0401 007 904 <javascript:void(0);>
@jjimenez0611 Thank you for your Information! I will investigate
@shts Thanks... Please let me know if you fix that.. I really need this library...
I am trying to fix it. Soon i will publish my code here. I hope you guys will also try. It will be a great help for publisher and others too.
I think the problem is if I call the pause() method in the onNext() Listener. O if call the pause() inside the activity..
But if a call the pause() inside a for example MotionEvent the pause() word perfect...
But I really don't know how to fix that...
@shts Do you have any news about this error? Or someone could find a solution ? I tried to fix but I still have problems...
@shts Hey, Any news? Because same heppend when we click skip and reverse.
@Rishabh-sx @Xenero @jjimenez0611 @dajver Released new version 3.0.0! I think he got well...plz check it.
Thanks, had a look at your commits - great fixes!
On Tue, Aug 21, 2018 at 13:40, Shota Saito notifications@github.com wrote:
@Rishabh-sx https://github.com/Rishabh-sx @Xenero https://github.com/Xenero @jjimenez0611 https://github.com/jjimenez0611 @dajver https://github.com/dajver Released new version 3.0.0! I think he got well...plz check it.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shts/StoriesProgressView/issues/11#issuecomment-414631078, or mute the thread https://github.com/notifications/unsubscribe-auth/AAo0ttLVQySiSzdWgWo9d6XNcSDklGXoks5uS-OkgaJpZM4Uuy5I .
-- Best Regards
Gleb
My portfolio https://dajver.com/
This issue still exists,even in updated code. i've observed that this bug produces only if video is available in stories,works perfect if only images are there Please fix this issue asap. Thanks
Hi guys, I have working model of this as I have done this in my project and soon I will share it with you guys in the form of POC. Drop me a mail at rishabhsx@gmail.com for help till then
I had the same issue and the code below fixed it!
new Handler().post(new Runnable() {
@Override
public void run() {
storiesProgressView.pause();
}
});
and
new Handler().post(new Runnable() {
@Override
public void run() {
storiesProgressView.resume();
}
});
maybe someone will use. this is how i solved it;
var pressTime = 0L var limit = 500L val onTouchListener: View.OnTouchListener = object : View.OnTouchListener { override fun onTouch(v: View?, event: MotionEvent): Boolean { when (event.action) { MotionEvent.ACTION_DOWN -> { pressTime = System.currentTimeMillis() binding.storiesProgressView.pause() return false } MotionEvent.ACTION_UP -> { var now = System.currentTimeMillis() binding.storiesProgressView.resume() return limit < now - pressTime } } return false } }
@Rishabh-sx @berkyalnizcik @alexinadev @Kitlabs @dajver @shts @jjimenez0611 Hello Guys Have you found any fix for this issue.
All Story progressbar starts showing progress on different touch and pause play action on the screen. Can you please check it.