将Image的名字转换为R.image.id
int imgid = getResources().getIdentifier(images.get(arg0), "drawable", "com.vtion.sleb.activities");
本文出自 “曾颐楠的播客” 博客,请务必保留此出处http://zengyinan.blog.51cto.com/9524976/1721469
int imgid = getResources().getIdentifier(images.get(arg0), "drawable", "com.vtion.sleb.activities");
本文出自 “曾颐楠的播客” 博客,请务必保留此出处http://zengyinan.blog.51cto.com/9524976/1721469