B4i Library [B4X] [XUI] SD LiquidProgress (Bar)

Star-Dust

Expert
Licensed User
Made entirely with B4i with XUI

Android version
Desktop version

iSD_LiquidProgress

Author:
Star-Dust
Version: 0.06
  • 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:

Star-Dust

Expert
Licensed User
A waterball. Cool..
Thank's. I had put aside a dozen or so Views to make, but I did not have time, now I have developed and published them 3. I have discarded some of them.

Others will realize it at my next break :rolleyes: But I'll probably just do Android, there seems to be less interest in iOS. o_O
 
Last edited:

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.ProgressTextVisible=False
LiquidProgress1.Invalidate
 
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
 

Mashiane

Expert
Licensed User

Star-Dust

Expert
Licensed User

Star-Dust

Expert
Licensed User
I watched closely and I see the beer foam is a circular image, which is revealed part by part as the wave goes up.
So we can have mango juice, coffee etc. just by changing the image in what you have distributed, I think :)

Regards,

Anand
Yes, but ice cold beer in the summer is better
 

Star-Dust

Expert
Licensed User
Update rel. 0-06
  • CircleLightEffect as Boolean
Video3.gif
 

janderkan

Active Member
Licensed User
Thank's. I had put aside a dozen or so Views to make, but I did not have time, now I have developed and published them 3. I have discarded some of them.

Others will realize it at my next break :rolleyes: But I'll probably just do Android, there seems to be less interest in iOS. o_O
Hi Star-Dust

For me the real value is cross platform.
I hope you will consider ' I'll probably just do Android'
In my country IOS is bigger than Android.

Jan
 

Star-Dust

Expert
Licensed User
Hi Star-Dust

For me the real value is cross platform.
I hope you will consider ' I'll probably just do Android'
In my country IOS is bigger than Android.

Jan
this library is produced for iOS, Android and Desktop as you see from the first post.

But in general, for iOS I get less downloads and at work level less commissions. So I adapt to job requests
 
Top