Home > Mobile >  Using if added to imageview in judgment to the array of images and the images in the drawable will n
Using if added to imageview in judgment to the array of images and the images in the drawable will n

Time:09-27

Private int [] image={R.d rawable. Ic_jiandao, R.d. Rawable ic_shitou, R.d rawable. Ic_bu};


//this method is in the way others to write
If (imageView. GetDrawable (.) getCurrent () getConstantState ()==getResources (). GetDrawable (R.d rawable. Ic_jiandao). GetConstantState () {

}



CodePudding user response:

What is not???????? Description is clear, novice will look at the front page

CodePudding user response:

Do you have the Debug to see? Have the Log?
  • Related