我有一个图像视图和一个字符串src.我想将imageview源设置为我拥有的字符串 src,但我无法这样做因为该方法需要一个int:
imgview.setImageResource(int);
由于此方法采用int,我如何实现使用字符串的目标?
android
android ×1