将Image的名字转换为R.image.id

int imgid = getResources().getIdentifier(images.get(arg0), "drawable", "com.vtion.sleb.activities");

 

本文出自 “曾颐楠的播客” 博客,请务必保留此出处http://zengyinan.blog.51cto.com/9524976/1721469

 

posted @ 2015-12-10 11:47  曾颐楠  阅读(188)  评论(0编辑  收藏  举报