Hello World!
Another B4i Library: A material style progress wheel for iOS![Star-struck :star_struck: š¤©](https://cdn.jsdelivr.net/joypixels/assets/6.5/png/unicode/64/1f929.png)
See library in Github
This is how it looks in indeterminate mode (the spinSpeed here is 0.64 which is the default, look below how to change it):
And in determinate mode (here the spinSpeed is set to 0.333):
Lib+Sample attached![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Another B4i Library: A material style progress wheel for iOS
![Star-struck :star_struck: š¤©](https://cdn.jsdelivr.net/joypixels/assets/6.5/png/unicode/64/1f929.png)
See library in Github
This is how it looks in indeterminate mode (the spinSpeed here is 0.64 which is the default, look below how to change it):
![spinning wheel spinning wheel](/android/forum/proxy.php?image=https%3A%2F%2Fgithub.com%2FAghajari%2FiAXMaterialProgress%2Fraw%2Fmain%2Fspinningwheel.gif&hash=74c48a8bf41ed8f290ba6789b084ab26)
And in determinate mode (here the spinSpeed is set to 0.333):
![spinning wheel spinning wheel](/android/forum/proxy.php?image=https%3A%2F%2Fgithub.com%2FAghajari%2FiAXMaterialProgress%2Fraw%2Fmain%2Fspinningwheel_progress.gif&hash=76127a8c8749fcf1d2a00e941b0cb80c)
- barColor: sets the small bar's color (the spinning bar in the indeterminate wheel, or the progress bar)
- barWidth: the width of the spinning bar
- rimColor: the wheel's border color
- rimWidth: the wheel's width (not the bar)
- spinSpeed: the base speed for the bar in indeterminate mode, and the animation speed when setting a value on progress. The speed is in full turns per - - second, this means that if you set speed as 1.0, means that the bar will take one second to do a full turn.
- circleRadius: the radius of the progress wheel, it will be ignored if you set fillRadius to true
- linearProgress: set to true if you want a linear animation on the determinate progress (instead of the interpolated default one).
Usage:
Dim Progress As iAXMaterialProgress
Progress.Initialize("Amir")
Page1.RootPanel.AddView(Progress,50%x-28dip,30%y-28dip,56dip,56dip)
Progress.SetProgressSize(56dip,56dip)
Progress.Start
'Change Bar Color
Progress.SetBarColor(BarColor)
Lib+Sample attached
Attachments
Last edited: