Android Question [Solved] Ideas to create a [B4X] stories progress - like Instagram and WhatsApp

asales

Expert
Licensed User
Longtime User
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.
1688494724977.png


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.
 

zed

Active Member
Licensed User
Maybe with this.
 
Upvote 0

asales

Expert
Licensed User
Longtime User
Maybe with this.
Thanks, but this lib is only to B4A.
I'm looking for a lib that is B4X.
 
Upvote 0

asales

Expert
Licensed User
Longtime User
I'll give it a shot.
I'll use the code base from the jPager.
I think I could use your lib ASViewPager together with this lib:
Puting several progress accordally with the number of pages.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Done.
 
Upvote 1
Top