如有图片kung_fu0_normal.png,kung_fu1_normal.png,kung_fu2_normal.png...
遍历的时候取出每个id:
int resid = getResources().getIdentifier("kung_fu" + position % 10+"_normal", "drawable",
parent.getContext().getPackageName());
如有图片kung_fu0_normal.png,kung_fu1_normal.png,kung_fu2_normal.png...
遍历的时候取出每个id:
int resid = getResources().getIdentifier("kung_fu" + position % 10+"_normal", "drawable",
parent.getContext().getPackageName());