Android Code Snippet Set maximum progress for Progressbar

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

B4X:
Sub SetMaximumProgressbar(Pb As ProgressBar,Value As Int)
    Dim CB1 As JavaObject = Pb
    CB1.RunMethod("setMax",Array(Value))
End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…