Hi,
My B4A object use SetLayoutAnimated to make some animation, as in B4J we can use this code:
In B4A SetLayoutAnimated method is available but not AnimationCompleted event as B4J does, previousely i use sleep to handle this situation, but it would be elegant if B4A can also has AnimationCompleted event so we can use Wait For.
Thank you
My B4A object use SetLayoutAnimated to make some animation, as in B4J we can use this code:
B4X:
'B4J Code...
Sub ShowLabel
Dim lbl As Label
lbl.Initialize("lbl")
lbl.SetLayoutAnimated(1500,100,100,80,40)
Wait For lbl_AnimationCompleted
lbl.Text = "Done"
End Sub
In B4A SetLayoutAnimated method is available but not AnimationCompleted event as B4J does, previousely i use sleep to handle this situation, but it would be elegant if B4A can also has AnimationCompleted event so we can use Wait For.
Thank you