ValueChangePerSecond moves the bar of AnotherProgressBar but it does not change Value:
Also the way the bar moves seems contrary to expectations.
If ValueChangePerSecond is positive then the bar shrinks, if negative then it grows.
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("1")
AnotherProgressBar1.ValueChangePerSecond = -10
If FirstTime = True Then
Timer1.Initialize("Timer1", 100)
Timer1.Enabled = True
End If
End Sub
Sub Timer1_Tick
Dim val As Int
val = AnotherProgressBar1.Value
Log(val) 'value logged never changes
End Sub
Also the way the bar moves seems contrary to expectations.
If ValueChangePerSecond is positive then the bar shrinks, if negative then it grows.