📅  最后修改于: 2022-03-11 14:52:42.346000             🧑  作者: Mango
Context context = imageView.getContext();
int id = context.getResources().getIdentifier("picture0001", "drawable", context.getPackageName());
imageView.setImageResource(id);