andkulikov / Transitions-Everywhere

Set of extra Transitions on top of Jetpack Transitions Library
Apache License 2.0
4.83k stars 486 forks source link

Got error in new Rotate() #84

Closed SimonPeter1909 closed 6 years ago

SimonPeter1909 commented 6 years ago

I was trying to implement Rotation to my imageview.

TransitionManager.beginDelayedTransition(dashboardRL, new Rotate());

but i got the wrong 2nd argument type.

Wrong 2nd argument type. Found: 'com.transitionseverywhere.Rotate', required: 'android.transition.Transition' less... 

beginDelayedTransition
(ViewGroup,
android.transition.Transition)
in TransitionManager cannot be applied
to
(RelativeLayout,
com.transitionseverywhere.Rotate)

 

andkulikov commented 6 years ago

you imported wrong TransitionManager. please check import. it should be com.transitionseverywhere.TransitionManager