1. Download our Official Android App: Forums for Android!

Apps Code doesn't work

Discussion in 'Android Development' started by Shahriat Hossain, Aug 4, 2016.

  1. Shahriat Hossain

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 4, 2016

    Aug 4, 2016
    1
    0
    5
    Male
    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?
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,314
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,314
    10,435
    1,988
    Male
    Software developer
    South West of England
    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?
     

Share This Page

Loading...