I saw this lib:
based in this:
I want to create a B4X progress to show the stories, like I can see in Inatagram and WhastApp stories.
It is a line that has separators (that is created accordally with the quantities of stories) and change the colors after a few seconds.
Which could be the best approach?
- create several panels inside one panel (line)?
- use canvas to draw the lines?
- do I need a timer to change the progress, correct?
- I check the 'onComplete' event (to move to the other story) in the timer?
Any tips are welcome.
Thanks in advance.
StoriesProgressView
A wrapper for this https://github.com/shts/StoriesProgressView StoriesProgressView Author: SMM Version: 0.01 StoriesProgressViewWrapper Events: _onComplete _onNext Fields: ba As BA Methods: BringToFront Destroy Very important ! in activity destroy Initialize (EventName As String)...
www.b4x.com
GitHub - shts/StoriesProgressView: show horizontal progress like instagram stories.
show horizontal progress like instagram stories. Contribute to shts/StoriesProgressView development by creating an account on GitHub.
github.com
I want to create a B4X progress to show the stories, like I can see in Inatagram and WhastApp stories.
It is a line that has separators (that is created accordally with the quantities of stories) and change the colors after a few seconds.
Which could be the best approach?
- create several panels inside one panel (line)?
- use canvas to draw the lines?
- do I need a timer to change the progress, correct?
- I check the 'onComplete' event (to move to the other story) in the timer?
Any tips are welcome.
Thanks in advance.