B4J Library [B4X] [XUI] jSD LiquidProgress (ProgressBar)

Star-Dust

Expert
Licensed User
Made entirely with B4J with XUI

Android version
iOS Version

jSD_LiquidProgress

Author:
Star-Dust
Version: 0.06
  1. LiquidProgress
    • Functions:
      • Class_Globals As NSString*
      • DesignerCreateView (Base As NSObject*, Lbl As B4ILabelWrapper*, Props As B4IMap*) As NSString*
        Base type must be Object
      • Initialize (ba As B4I*, Callback As NSObject*, EventName As NSString*) As NSString*
      • Invalidate As NSString*
      • IsInitialized As BOOL
        Verifica se l'oggetto sia stato inizializzato.
      • Wait (Milliseconds As Long long)
        Eg. use:
        SD_LiquidProgress1.Wait(2000)
        Sleep(2000)
    • Properties:
      • BackgroundColor As Int
      • BackgroundWaveColor As Int
      • TextSize As Int
      • TextVisible As BOOL
      • Value As Int
        Value 0 to 100
      • WaveColor As Int
      • CircleLightEffect As Boolean

Video3.gif
 

Attachments

Last edited:

moster67

Expert
Licensed User
E' un mago anche se non lo ammette....
He's a master although he won't admit it...
 
Last edited:

Star-Dust

Expert
Licensed User
È stato un colpo di fortuna

It was a stroke of luck
 

Star-Dust

Expert
Licensed User
E' un mago anche se non lo ammette....
He's a master although he won't admit it...
Actually the source is really simple, sometimes we think things are more complicated.

I used a fragment of source that I had shared this forum and used it for a different purpose
 

Star-Dust

Expert
Licensed User
I could not explain this.:(
 

Star-Dust

Expert
Licensed User
Update rel 0.02

You can change colors and contains a method to pause the progression but keep the animation

B4X:
LiquidProgress1.Wait(PauseTime)
Sleep(PauseTime)
Video1.gif
 
Last edited:

Star-Dust

Expert
Licensed User
Update rel 0.03

B4X:
LiquidProgress1.TextVisible=False
 
Last edited:

Star-Dust

Expert
Licensed User
Update rel 0.04
 

Star-Dust

Expert
Licensed User
I started working on a version where the view fills with Beer. Very refreshing.
I need to improve the foam ... I'll study it a little bit

Unfortunately, I will not be able to distribute it

Video1.gif
 

Star-Dust

Expert
Licensed User
Update 0.06
  • Propertie CircleLightEffect as Boolean
Video3.gif
 
Last edited:
Top