ApplicationInfo appInfo = getActivity().getApplicationInfo();
int resID = getResources().getIdentifier("图片名字", "mipmap", appInfo.packageName);
holder.setImageResource(R.id.title_img, resID);
Class<?> aClass = null;
try {
aClass = Class.forName("相应的class包名+xxx.class");
Intent intent = new Intent(getActivity(), aClass);
startActivity(intent);
} catch (Exception e) {
e.printStackTrace();
}