Android Question Problems with Badger API version 28

FrankDev

Active Member
Licensed User
Longtime User
Hello,

I think there's a problem with the badger lib
of API 28.

I had now switched from 26 to 28 and had a problem at that point.
(see code)


B4X:
Private Sub RemoveBadge(view As B4XView)
    Dim p As B4XView = GetPanel(view)
    GetLabel(p).RemoveViewFromParent
    views.Remove(view)
    p.SetLayoutAnimated(animationDuration, cx, cy, 0, 0) ' <-- Error' java.lang.IllegalArgumentException: Cannot set 'scaleX' to Float.NaN
    Sleep(animationDuration)
    p.RemoveViewFromParent
End Sub

regards Frank
 
Top