Android Code Snippet Set maximum progress for Progressbar

Hi
With below code you can define maximum progress for Progressbar :cool:
I found it hardly :mad:

B4X:
Sub SetMaximumProgressbar(Pb As ProgressBar,Value As Int)
    Dim CB1 As JavaObject = Pb
    CB1.RunMethod("setMax",Array(Value))
End Sub
 
Top