how to get the source of ImageView in order to change it?

后端 未结 7 1864
醉话见心
醉话见心 2020-12-15 06:23

I know that changing the ImageView resource is not big deal just using myImageView.setImageResource(mynewImageDrawable)

but what I want to do is to chec

7条回答
  •  粉色の甜心
    2020-12-15 06:46

    If you want get the src drawable, use the following method of ImageView : http://developer.android.com/reference/android/widget/ImageView.html#getDrawable()

提交回复
热议问题