• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps 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?
 
I'm puzzled. Method setseekbarRotation() does not appear to even exist for ImageView, let alone be deprecated.

Plus Google searches for this throw up absolutely nothing.

What minimum API have you set?
 
Back
Top Bottom