vendredi 5 août 2016

Code doesn't work

Hi,
I am new to android, I have an app where I am getting error for some code like below:

tmp = (ImageView) findViewById(lastIdImage);
tmp.requestLayout();
tmp.setseekbarRotation((int) ((progresValue * 3.6) - 180));

I am only getting error for the last line :

tmp.setseekbarRotation((int) ((progresValue * 3.6) - 180));

it seems that setseekbarRotation method is deprecated. Can you help me how to convert this code to new one?

Let's block ads! (Why?)



Code doesn't work

Aucun commentaire:

Enregistrer un commentaire