Rotation without kotlins animation

Hi

I would like to rotate my TextView by my own value and i don’t want to use kotlins animation, because i already have my own animation class

So my value goes from 0f to 360f

mytextView.setRotation(value) wont work

Is there a way?

Edit: SOLVED

I forgot to call my element the correct way