Shahriat Hossain
Lurker
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?
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?