Animation Util doesn't accept a Floating Action Button component


I am getting error about wrong type of the argument component when trying to animate a Floating Action Button by Animation Util :

Argument #2 ( to ',float,float,int)' has wrong type ( (expected:

This happens with any Animation Util method when trying to use with Floating Action Button.

A Floating Action Button or FAB (even if you can see it on the screen) is not a visible component means that it can’t be animated since the animation utils ask for a visible component

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.